Skip to contentSkip to conversation

-pre9 patch for PCI

parisc-linux Grant Grundler 2 participants 3 messages May 26, 2000 PCI

lore
Share & tools
lore
#0 lore raw

Linus,
Here some things we (parisc port) found in the common code. Mostly minor stuff.

drivers/pci/pci.c
spinlock_t declaration is getting picked up "accident". spinlock.h is included by another header file.

drivers/pci/pci.ids
Martin Peterson ([email protected]) added SuperIO id's (aka suckyio :^).

include/linux/pci.h
Philipp Rumpf ([email protected]) fixed a stub function.

include/linux/pci_ids.h
goes with pci.ids above.

thanks,
grant

Grant Grundler
[email protected]

#1 lore raw
Quoted 3 lines · Grant Grundler

Linus,
Here some things we (parisc port) found in the common code. Mostly minor stuff.

Alan Cox replied:
| You got patches for those ?

My bad. I'm tired, had to leave to a funeral, and accidentally sent out that e-mail prematurely when shutting down my machine. My apologies.

I had the -pre1 diff (thanks to willy) but not the -pre9 diff. At willy's suggestion, appended now are patches for -test1:

drivers/pci/pci.c
drivers/pci/pci.ids
include/linux/pci_ids.h

include/linux/pci.h is already fixed in -test1.

apologies again,
grant

Grant Grundler
Unix Development Lab
+1.408.447.7253

drivers/pci/pci.c +1 -0
diff -urN linux-2.4.0-test1/drivers/pci/pci.c linux-ggg/drivers/pci/pci.c
@@ -18,6 +18,7 @@
 #include <linux/init.h>
 #include <linux/malloc.h>
 #include <linux/ioport.h>
+#include <linux/spinlock.h>
 #include <linux/pm.h>
 
 #include <asm/page.h>
drivers/pci/pci.ids +3 -2
diff -urN linux-2.4.0-test1/drivers/pci/pci.ids linux-ggg/drivers/pci/pci.ids
@@ -238,11 +238,12 @@
 100a  Phoenix Technologies
 100b  National Semiconductor Corporation
 	0001  DP83810
-	0002  87415
+	0002  87415/87560 IDE
+	000e  87560 Legacy I/O
 	000f  OHCI Compliant FireWire Controller
 	0011  National PCI System I/O
 	0012  USB Controller
-	d001  87410
+	d001  87410 IDE
 100c  Tseng Labs Inc
 	3202  ET4000/W32p rev A
 	3205  ET4000/W32p rev B
include/linux/pci_ids.h +2 -0
diff -urN linux-2.4.0-test1/include/linux/pci_ids.h linux-ggg/include/linux/pci_ids.h
@@ -190,6 +190,8 @@
 
 #define PCI_VENDOR_ID_NS		0x100b
 #define PCI_DEVICE_ID_NS_87415		0x0002
+#define PCI_DEVICE_ID_NS_87560_LIO      0x000e
+#define PCI_DEVICE_ID_NS_87560_USB      0x0012
 #define PCI_DEVICE_ID_NS_87410		0xd001
 
 #define PCI_VENDOR_ID_TSENG		0x100c
#2 lore raw
Quoted 1 line

My bad. I'm tired, had to leave to a funeral, and accidentally sent

Commiserations

Quoted 1 line

apologies again,

None needed

Alan