[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: overhauling modconf



On Tue, Jan 04, 2000 at 04:10:27PM -0500, David Huggins-Daines wrote:
> (though very few modules use this yet).  I'm not sure if modutils has a
> utility to extract this info, but there may be some useful code in modprobe.

Er, sorry to answer my own post... there is modinfo(8):

dhd@blood-axp:~$ /sbin/modinfo -d /lib/modules/2.2.14pre12/net/via-rhine.o 
VIA Rhine PCI Fast Ethernet driver
dhd@blood-axp:~$ /sbin/modinfo -a /lib/modules/2.2.14pre12/net/via-rhine.o 
Donald Becker <becker@cesdis.gsfc.nasa.gov>
dhd@blood-axp:~$ /sbin/modinfo -p /lib/modules/2.2.14pre12/net/via-rhine.o 
max_interrupt_work int
min_pci_latency int
debug int
rx_copybreak int
options int array (min = 1, max = 8)
full_duplex int array (min = 1, max = 8)


Reply to: