[Prism54-devel] Patch for PCI id 1260:3886

Jarl Friis jarl@softace.dk
Sat, 08 May 2004 00:06:16 +0200


Hi.

I got a chip that identifies itself as 1260:3886. It is a built-in chip in a
Medion 41700 notebook. I don't know the marketing name for this chip
since I have not yet run windows on the machine and probably never will,
but I belive it is Prism Nitro because I saw that on a advertisement
of the notebook. I probably have a more recent firmware (in form of
Windows drivers) on the included CDs, but if I can get this to work I
probably won't care.

I had to patch the driver with the following, to get it to work:
please incorporate the patch as you find it appropriate...

linux:/usr/src/linux/drivers/net/wireless/prism54 # diff -u
islpci_hotplug.c~ islpci_hotplug.c
--- islpci_hotplug.c~   2004-04-06 23:51:39.000000000 +0200
+++ islpci_hotplug.c    2004-05-07 23:26:14.523420272 +0200
@@ -106,6 +106,11 @@
 	 PCI_ANY_ID, PCI_ANY_ID,
 	 0, 0,
 	 (unsigned long) "Intersil PRISM Indigo Wireless LAN adapter"},
+	{
+	PCIVENDOR_INTERSIL, PCIDEVICE_ISL3886,
+	PCI_ANY_ID, PCI_ANY_ID,
+	0, 0,
+	 (unsigned long) "Intersil PRISM Some Wireless LAN adapter"},
 	{ /* Default */
 	PCIVENDOR_INTERSIL, PCIDEVICE_ISL3890,
 	PCI_ANY_ID, PCI_ANY_ID,
--- islpci_mgt.h~   2004-04-06 23:51:39.000000000 +0200
+++ islpci_mgt.h    2004-05-07 22:11:49.000000000 +0200
@@ -57,6 +57,7 @@
 #define PCIVENDOR_ACCTON                       0x1113UL
=20
 #define PCIDEVICE_ISL3877                       0x3877UL
+#define PCIDEVICE_ISL3886                       0x3886UL
 #define PCIDEVICE_ISL3890                       0x3890UL
 #define PCIDEVICE_3COM6001			0x6001UL
 #define PCIDEVICE_LATENCY_TIMER_MIN            0x40
--- islpci_dev.c.org  2004-05-07 23:44:53.132365864 +0200
+++ islpci_dev.c      2004-05-07 22:49:07.000000000 +0200
@@ -44,6 +44,7 @@
 #endif
=20
 #define ISL3877_IMAGE_FILE     "isl3877"
+#define ISL3886_IMAGE_FILE     "isl3886"
 #define ISL3890_IMAGE_FILE     "isl3890"
=20
 /* Temporary dummy MAC address to use until firmware is loaded.
@@ -758,6 +759,9 @@
 	case PCIDEVICE_3COM6001:
 		strcpy(priv->firmware, ISL3890_IMAGE_FILE);
 		break;
+	case PCIDEVICE_ISL3886:
+		strcpy(priv->firmware, ISL3886_IMAGE_FILE);
+               break;
 	case PCIDEVICE_ISL3877:
 		strcpy(priv->firmware, ISL3877_IMAGE_FILE);
 		break;


The following is the output from lspci -vvn

0000:02:06.0 Class 0280: 1260:3886 (rev 01)
        Subsystem: 17cf:0036
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr-=
 Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=3Dmedium >TAbort- =
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 80 (2500ns min, 7000ns max), cache line size 08
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at d0204000 (32-bit, non-prefetchable)
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=3D0mA PME(D0+,D1+,D2=
+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=3D0 DScale=3D0 PME-


Jarl


--=20
Jarl Friis
Softace
Om=F8gade 8, 2.sal
2100 K=F8benhavn =D8.
Denmark
Phone:  +45 26 13 20 90
E-mail: jarl@softace.dk