On Tue, Mar 02, 2004 at 12:17:23PM +0100, Michael Banck wrote:
> On Sun, Feb 29, 2004 at 09:52:32PM +0100, Alfred M. Szmidt wrote:
> > Have fun, and please beat the crap out of all the drivers you can.
> > Specially ones that are common.
 
> I've tried out your patch for my 3c556 (which there is currently no
> support for in GNU Mach 1.x, but I've posted a patch some days ago).
> Unfortunately, although the NIC gets detected (however, the exact bootup
> messages vary slightly from the ones I was seeing before), the status
> LED at the NIC is not lit (contrary to the behaviour I see when using my
> patch), and I am unable to use /hurd/pfinet.

Here's a patch which works for me, against your source:

--- 3c59x.c.ams 2004-03-03 20:35:02.000000000 +0100
+++ 3c59x.c     2004-03-07 18:42:06.000000000 +0100
@@ -331,9 +331,11 @@
        {"3c555 Laptop Hurricane", { 0x505510B7, 0xffffffff },
         PCI_IOTYPE, CYCLONE_SIZE, FEATURE_CYCLONE, },
        {"3c556 Laptop Tornado",{ 0x605510B7, 0xffffffff },
-        PCI_IOTYPE, CYCLONE_SIZE, FEATURE_TORNADO|EEPROM_8BIT, },
+        PCI_IOTYPE, CYCLONE_SIZE, 
+        FEATURE_CYCLONE|EEPROM_8BIT|INVERT_LED_PWR|HAS_CB_FNS|MII_XCVR_PWR, },
        {"3c556 series Laptop Tornado",{ 0x605510B7, 0xf0ffffff },
-        PCI_IOTYPE, CYCLONE_SIZE, FEATURE_TORNADO|EEPROM_8BIT, },
+        PCI_IOTYPE, CYCLONE_SIZE, 
+        FEATURE_CYCLONE|EEPROM_8BIT|INVERT_LED_PWR|HAS_CB_FNS|MII_XCVR_PWR, },
        {"3c1556B-5 mini-PCI",{ 0x605610B7, 0xffffffff, 0x655610b7, 0xffffffff, },
         PCI_IOTYPE, CYCLONE_SIZE,
         FEATURE_TORNADO|EEPROM_8BIT|INVERT_LED_PWR|WN0_XCVR_PWR, },


I adopted this from a post to the vortex mailing list by Fred Maciel,
http://www.scyld.com/pipermail/vortex/2000-July/000495.html

Fred Maciel also initially added the 3c556 support to Linux.

I don't know which flags are crucial for it to work, but I might test
this a bit more in the following days, including checking whether this
patch is necessary on Linux-2.4 as well, and then contacting upstream.

If I am bored enough, that is.


cheers,

Michael


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to