Re: More PCI devices

Dean Gaudet (dgaudet-list-linux-kernel@arctic.org)
Mon, 6 Jan 1997 21:18:17 -0800 (PST)


I've got the same 430MX chips in my tp560, and here's the patch I put
together after spending time with one of intel's programs. (You'd have
to dig on their site to find it.)

BTW, I also put a bit of effort into writing a driver for the 82371MX
(which doesn't support DMA like its big brother). But I stopped after
I found out that the thinkpad bios put it into the most optimal state
by default.

Dean

*** include/linux/pci.h.orig Sun Nov 24 18:46:38 1996
--- include/linux/pci.h Sun Nov 24 18:47:39 1996
***************
*** 552,557 ****
--- 552,559 ----
#define PCI_DEVICE_ID_INTEL_82437 0x122d
#define PCI_DEVICE_ID_INTEL_82371_0 0x122e
#define PCI_DEVICE_ID_INTEL_82371_1 0x1230
+ #define PCI_DEVICE_ID_INTEL_82371MX 0x1234
+ #define PCI_DEVICE_ID_INTEL_82430MX 0x1235
#define PCI_DEVICE_ID_INTEL_82441 0x1237
#define PCI_DEVICE_ID_INTEL_82439 0x1250
#define PCI_DEVICE_ID_INTEL_82371SB_0 0x7000
*** drivers/pci/pci.c.orig Sun Nov 24 18:47:50 1996
--- drivers/pci/pci.c Sun Nov 24 18:48:59 1996
***************
*** 229,234 ****
--- 229,236 ----
DEVICE( INTEL, INTEL_82437, "82437"),
DEVICE( INTEL, INTEL_82371_0, "82371 Triton PIIX"),
DEVICE( INTEL, INTEL_82371_1, "82371 Triton PIIX"),
+ DEVICE( INTEL, INTEL_82371MX, "82371MX Mobile PCI I/O IDE Xcelerator (MPIIX)"),
+ DEVICE( INTEL, INTEL_82430MX, "82430MX Mobile PCIset"),
DEVICE( INTEL, INTEL_82441, "82441FX Natoma"),
DEVICE( INTEL, INTEL_82439, "82439HX Triton II"),
DEVICE( INTEL, INTEL_82371SB_0,"82371SB Natoma/Triton II PIIX3"),

On Sat, 4 Jan 1997, Matthew Harrell wrote:

>
> I mailed in these PCI devices about seven months ago and they never seemed
> to make it in to the kernel. The devices are the following
>
> Intel 430MX bridge device id's 0x1234, 0x1235
> Cirrus Logic CL-GD7548 video card device id 0x0038
>
> Unfortunately, I'm not sure of the specific chipset numbers for the 430MX
> bridge in my computer because it's a laptop and I'm a little hesitent to
> rip it open, but I've included the following patch to add in these three
> devices because I'm tired of seeing the messages about unknown devices.
>
>
> diff -urN lx-2.1.20/drivers/pci/pci.c linux/drivers/pci/pci.c
> --- lx-2.1.20/drivers/pci/pci.c Fri Jan 3 17:46:18 1997
> +++ linux/drivers/pci/pci.c Fri Jan 3 17:50:57 1997
> @@ -72,6 +72,7 @@
> DEVICE( DEC, DEC_TULIP_PLUS, "DC21041"),
> DEVICE( DEC, DEC_21052, "DC21052"),
> DEVICE( DEC, DEC_21152, "DC21152"),
> + DEVICE( CIRRUS, CIRRUS_7548, "GD 7548"),
> DEVICE( CIRRUS, CIRRUS_5430, "GD 5430"),
> DEVICE( CIRRUS, CIRRUS_5434_4, "GD 5434"),
> DEVICE( CIRRUS, CIRRUS_5434_8, "GD 5434"),
> @@ -242,6 +243,8 @@
> DEVICE( INTEL, INTEL_82437, "82437"),
> DEVICE( INTEL, INTEL_82371_0, "82371 Triton PIIX"),
> DEVICE( INTEL, INTEL_82371_1, "82371 Triton PIIX"),
> + DEVICE( INTEL, INTEL_430MX_0, "Triton I"),
> + DEVICE( INTEL, INTEL_430MX_1, "Triton I"),
> DEVICE( INTEL, INTEL_82441, "82441FX Natoma"),
> DEVICE( INTEL, INTEL_82439, "82439HX Triton II"),
> DEVICE( INTEL, INTEL_82371SB_0,"82371SB Natoma/Triton II PIIX3"),
> diff -urN lx-2.1.20/include/linux/pci.h linux/include/linux/pci.h
> --- lx-2.1.20/include/linux/pci.h Wed Dec 18 08:05:22 1996
> +++ linux/include/linux/pci.h Fri Jan 3 17:51:02 1997
> @@ -269,6 +269,7 @@
> #define PCI_DEVICE_ID_DEC_21152 0x0024
>
> #define PCI_VENDOR_ID_CIRRUS 0x1013
> +#define PCI_DEVICE_ID_CIRRUS_7548 0x0038
> #define PCI_DEVICE_ID_CIRRUS_5430 0x00a0
> #define PCI_DEVICE_ID_CIRRUS_5434_4 0x00a4
> #define PCI_DEVICE_ID_CIRRUS_5434_8 0x00a8
> @@ -572,6 +573,8 @@
> #define PCI_DEVICE_ID_INTEL_82437 0x122d
> #define PCI_DEVICE_ID_INTEL_82371_0 0x122e
> #define PCI_DEVICE_ID_INTEL_82371_1 0x1230
> +#define PCI_DEVICE_ID_INTEL_430MX_0 0x1234
> +#define PCI_DEVICE_ID_INTEL_430MX_1 0x1235
> #define PCI_DEVICE_ID_INTEL_82441 0x1237
> #define PCI_DEVICE_ID_INTEL_82439 0x1250
> #define PCI_DEVICE_ID_INTEL_82371SB_0 0x7000
>
>
> --
> Matthew Harrell The perversity of the universe
> Simulation Technology Division, SAIC tends to a maximum.
> mharrell@std.saic.com
>