From owner-freebsd-questions Sun Sep 5 18:33:13 1999 Delivered-To: freebsd-questions@freebsd.org Received: from JIMI.CS.UNLV.EDU (jimi.CS.UNLV.EDU [131.216.22.2]) by hub.freebsd.org (Postfix) with SMTP id 8BA5115007; Sun, 5 Sep 1999 18:33:06 -0700 (PDT) (envelope-from slumos@sam.ISRI.UNLV.EDU) Received: from sam.ISRI.UNLV.EDU by JIMI.CS.UNLV.EDU id aa27032; 5 Sep 99 18:26 PDT To: Peter Wemm Cc: questions@freebsd.org, hackers@freebsd.org Subject: Re: Intel 82559 based NIC support: Where? In-Reply-To: Message from Peter Wemm of "Sun, 05 Sep 1999 18:14:13 +0800." <19990905101413.D66861CA8@overcee.netplex.com.au> Date: Sun, 05 Sep 1999 18:26:05 -0700 From: Steven E Lumos Message-Id: <19990906013307.8BA5115007@hub.freebsd.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks! Mine reports (after patching): fxp0@pci0:13:0: class=0x020000 card=0x10308086 chip=0x10308086 rev=0x08 hdr=0x00 I have no clue what is really the right way to do it, but here is the tiny patch I made anyway: *** if_fxpreg.h.orig Sat Sep 4 13:33:29 1999 --- if_fxpreg.h Sun Sep 5 14:30:42 1999 *************** *** 29,34 **** --- 29,35 ---- #define FXP_VENDORID_INTEL 0x8086 #define FXP_DEVICEID_i82557 0x1229 + #define FXP_DEVICEID_i82559 0x1030 #define FXP_PCI_MMBA 0x10 #define FXP_PCI_IOBA 0x14 *** if_fxp.c.orig Sat Sep 4 13:33:29 1999 --- if_fxp.c Sun Sep 5 14:40:44 1999 *************** *** 510,516 **** if (((device_id & 0xffff) == FXP_VENDORID_INTEL) && ((device_id >> 16) & 0xffff) == FXP_DEVICEID_i82557) return ("Intel EtherExpress Pro 10/100B Ethernet"); ! return NULL; } --- 510,518 ---- if (((device_id & 0xffff) == FXP_VENDORID_INTEL) && ((device_id >> 16) & 0xffff) == FXP_DEVICEID_i82557) return ("Intel EtherExpress Pro 10/100B Ethernet"); ! else if (((device_id & 0xffff) == FXP_VENDORID_INTEL) && ! ((device_id >> 16) & 0xffff) == FXP_DEVICEID_i82559) ! return ("Intel InBusiness 10/100 Ethernet"); return NULL; } For anyone who is interested, I bought these cards at CompUSA because they were cheap. There is a sticker on them with the net address followed by "32913" and then "742252-001". Steve Peter Wemm : >Steven E Lumos wrote: >> >> According to some posts I've found with deja and by searching the >> mailing lists, these cards are now supported in the fxp driver. Since >> the string "82559" does not appear either in the CVS logs, nor the >> latest version of the driver available for CVS, I need somebody to tell >> me which version of the driver has 82559 support. Specifically, is >> there a version that I can build in a 3.1 source tree, and if not then >> what is the minimum amount of work I can do to get a working system >> with this card supported. >> >> One of the posts I saw said that there was support in 3.2, but the >> GENERIC 3.2 kernel (from the June 1999 CDs) doesn't recognise the >> card. The card is an Intel InBusiness 10/100. > >Find out what the device ID is. I have an 82559 card running right now, >and it ran under 3.1-RELEASE as well as it's software compatable with the >82557/8. > >Under -current: pciconf -l reports: >fxp0@pci0:11:0: class=0x020000 card=0x000c8086 chip=0x12298086 rev=0x08 hdr=0x >00 > >Under 3.1-release (network installed from floppy), and later upgraded to >3.2-stable: > >Aug 30 12:59:14 auth /kernel: FreeBSD 3.1-RELEASE #0: Mon Feb 15 11:08:08 GMT >19 >99 >[..] >Aug 30 12:59:14 auth /kernel: fxp0: >re >v 0x08 int a irq 11 on pci0.11.0 >Aug 30 12:59:14 auth /kernel: fxp0: Ethernet address 00:90:27:58:42:9f > >The card was an OEM version, I don't know *exactly* what it's called, and it >has no identifying marks, but it's intel-style model number is: 721383-006. >This is on the sticker on the front next to the ethernet address and >another number "10927", which could mean anything. > >The Intel docs for this chip say explicitly that it's software compatable >with drivers for older versions. > >An older board with an 82557 or 558 on the motherboard has: >fxp0@pci0:6:0: class=0x020000 card=0x00000000 chip=0x12298086 rev=0x01 hdr=0x >00 >The device ID's are the same, just a lower revision number. ^^^^^^^^ > >> Thanks in advance. >> >> Steve > >Cheers, >-Peter > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message