[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] GNU Mach-1.x support for 3c556 NIC
From: |
Alfred M. Szmidt |
Subject: |
Re: [patch] GNU Mach-1.x support for 3c556 NIC |
Date: |
Tue, 17 Feb 2004 12:06:12 +0100 (MET) |
2004-02-15 Michael Banck <mbanck@gmx.net>
* linux/src/drivers/net/3c59x.c: Added support for 3c556 from
Linux-2.2.17-pre14, originally by Fred Maciel.
(pci_tbl): Added 3c556 PCI IDs and chipset features.
(vortex_probe1): Special case data values for 3c556 when doing
outw() port output.
Looks good.
Index: linux/src/drivers/net/3c59x.c
===================================================================
RCS file: /cvsroot/hurd/gnumach/linux/src/drivers/net/Attic/3c59x.c,v
retrieving revision 1.3
diff -u -r1.3 3c59x.c
--- linux/src/drivers/net/3c59x.c 8 Oct 1999 13:50:16 -0000 1.3
+++ linux/src/drivers/net/3c59x.c 15 Feb 2004 20:20:05 -0000
@@ -893,7 +899,11 @@
printk("%s: CardBus functions mapped %8.8x->%p (PCMCIA
committee "
" brain-damage).\n", dev->name, fn_st_addr,
vp->cb_fn _base);
EL3WINDOW(2);
- outw(0x10 | inw(ioaddr + Wn2_ResetOptions), ioaddr +
Wn2_ResetOp tions);
+ if (pci_tbl[chip_idx].device_id == 0x6055) {
+ outw(0x4010 | inw(ioaddr + Wn2_ResetOptions), ioaddr
+ W n2_ResetOptions);
Just curious, shouldn't the space in "W n2_ResetOptions" be removed?
Or is this some artifact from your mail client?
Re: [patch] GNU Mach-1.x support for 3c556 NIC,
Alfred M. Szmidt <=