Disabling certain PCI devices

Mark Knecht mknecht at controlnet.com
Wed Mar 10 23:01:19 UTC 2004


Rick Stevens wrote:
>>    Just wondering if anyone here has a solution to this sort of problem.
> 
> 
> Try editing /lib/modules/`uname -r`/modules.pcimap and deleting the
> line that correponds to the device you want to disable.  It shouldn't
> load a driver then.

Rick,
    Very interesting. I have never seen these files. Thanks.

    There seems to be only one line for the OHCI devices. I'm sort of 
assuming that having all f's is an indictation that this driver should 
load for all OHCI devices?

    Would I change the vendor/device values on the ohci1394 line to 
match the TI chip and then possibly nothing would get loaded for the 
Creative Labs? Looks like I need to reverse map the TI/TSB12LV23 
numbers, as well as the ADS Subsystem values to get what I'd put in this 
file.

    Sound basically correct?

Thanks,
Mark


# pci module         vendor     device     subvendor  subdevice  class 
     class_mask driver_data
ohci1394             0xffffffff 0xffffffff 0xffffffff 0xffffffff 
0x000c0010 0xff
ffffff 0x0
pcilynx              0x0000104c 0x00008000 0xffffffff 0xffffffff 
0x00000000 0x00
000000 0x0
snd-emu10k1          0x00001102 0x00000002 0xffffffff 0xffffffff 
0x00000000 0x00
000000 0x0
snd-emu10k1          0x00001102 0x00000006 0xffffffff 0xffffffff 
0x00000000 0x00
000000 0x0
snd-emu10k1          0x00001102 0x00000004 0xffffffff 0xffffffff 
0x00000000 0x00
000000 0x0

from lspci -vv

00:0b.0 FireWire (IEEE 1394): Texas Instruments TSB12LV23 IEEE-1394 
Controller (prog-if 10 [OHCI])
         Subsystem: Ads Technologies Inc: Unknown device 0000
         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
         Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium 
 >TAbort- <TAbort- <MAbort- >SERR- <PERR-
         Latency: 32 (750ns min, 1000ns max), cache line size 08
         Interrupt: pin A routed to IRQ 10
         Region 0: Memory at d5800000 (32-bit, non-prefetchable) [size=2K]
         Region 1: Memory at d5000000 (32-bit, non-prefetchable) [size=16K]
         Capabilities: [44] Power Management version 1
                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot+,D3cold-)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-





More information about the Redhat-install-list mailing list