Hi, Attached is a patch to make a Netmos PCI parallal port card working. Card is a PCI card with a Netmos 9705 controller and an Atmel serial eeprom. Regards, Igmar -- -- Igmar Palsenberg JDI Media Solutions Jansplaats 11 6811 GB Arnhem The Netherlands mailto: [EMAIL PROTECTED] PGP/GPG key : http://www.jdimedia.nl/formulier/pgp/igmar
00:00.0 Class 0600: 8086:7122 (rev 03) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- Latency: 0 set 00:01.0 Class 0300: 8086:7123 (rev 03) Subsystem: 8086:0200 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: 0 set Interrupt: pin A routed to IRQ 11 Region 0: Memory at ec000000 (32-bit, prefetchable) Region 1: Memory at ffe80000 (32-bit, non-prefetchable) Capabilities: [dc] Power Management version 1 Flags: PMEClk- AuxPwr- DSI+ D1- D2- PME- Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:1e.0 Class 0604: 8086:2418 (rev 01) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 set Bus: primary=00, secondary=01, subordinate=01, sec-latency=64 I/O behind bridge: 0000d000-0000dfff Memory behind bridge: ffc00000-ffcfffff Prefetchable memory behind bridge: e7e00000-e7efffff BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B- 00:1f.0 Class 0601: 8086:2410 (rev 01) 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: 0 set 00:1f.1 Class 0101: 8086:2411 (rev 01) (prog-if 80 [Master]) 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: 0 set Region 4: I/O ports at ffa0 00:1f.2 Class 0c03: 8086:2412 (rev 01) 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: 0 set Interrupt: pin D routed to IRQ 5 Region 4: I/O ports at ef80 00:1f.3 Class 0c05: 8086:2413 (rev 01) 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- Interrupt: pin B routed to IRQ 10 Region 4: I/O ports at efa0 01:05.0 Class 0200: 10ec:8029 Subsystem: 10ec:8029 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- Interrupt: pin A routed to IRQ 10 Region 0: I/O ports at df80 01:0b.0 Class 0701: 9710:9705 (rev 01) (prog-if 02) Subsystem: 1000:0010 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- Interrupt: pin A routed to IRQ 5 Region 0: I/O ports at df00
--- linux/include/linux/pci.h.orig Thu Feb 15 11:18:43 2001 +++ linux/include/linux/pci.h Thu Feb 15 11:52:27 2001 @@ -1268,6 +1268,9 @@ #define PCI_DEVICE_ID_INTERPHASE_5526 0x0004 #define PCI_DEVICE_ID_INTERPHASE_55x6 0x0005 +#define PCI_VENDOR_ID_NETMOS 0x9710 +#define PCI_VENDOR_ID_NETMOS_9705 0x9705 + /* * The PCI interface treats multi-function devices as independent * devices. The slot/function address of each device is encoded --- linux/drivers/misc/parport_pc.c.orig Thu Feb 15 11:49:00 2001 +++ linux/drivers/misc/parport_pc.c Thu Feb 15 11:53:21 2001 @@ -910,6 +910,8 @@ { { 0, -1 }, } }, { PCI_VENDOR_ID_OXSEMI, PCI_DEVICE_ID_OXSEMI_12PCI840, 1, { { 0, 1 }, } }, + { PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9705, 1, + { { 0, -1 }, } }, { 0, } }; --- linux/drivers/pci/oldproc.c.orig Thu Feb 15 11:30:36 2001 +++ linux/drivers/pci/oldproc.c Thu Feb 15 11:30:06 2001 @@ -947,6 +947,7 @@ case PCI_VENDOR_ID_TIGERJET: return "TigerJet"; case PCI_VENDOR_ID_ARK: return "ARK Logic"; case PCI_VENDOR_ID_SYSKONNECT: return "SysKonnect"; + case PCI_VENDOR_ID_NETMOS: return "Netmos"; default: return "Unknown vendor"; } }