*BSD News Article 86272


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!usenet
From: ghudson@mit.edu (Greg Hudson)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: Support for 3com Etherlink XL aka 3c900 aka boomerang?
Date: 05 Jan 1997 13:30:02 -0500
Organization: Massachusetts Institute of Technology
Lines: 90
Sender: ghudson@the-light-fantastic.MIT.EDU
Message-ID: <x7dloa8dlg5.fsf@the-light-fantastic.MIT.EDU>
References: <5aokj0$9ud$1@Illuminatus.MZ.Rhein-Main.DE>
NNTP-Posting-Host: the-light-fantastic.mit.edu
In-reply-to: volker@Illuminatus.MZ.Rhein-Main.DE's message of 5 Jan 1997
	17:24:00 +0100
X-Newsreader: Gnus v5.1
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5081

The existing 3c509/3c590 driver works with the 3c900, except that it's
not detected at boot time.

If you're willing to build a kernel, you can apply the following patch
to the NetBSD 1.2 tree (apply in sys/dev/pci), run "make" in
sys/dev/pci (to regenerate pcidevs.h and pcidevs_data.h), and build a
kernel with the result.

*** pcidevs	1996/11/10 07:51:08	1.1
--- pcidevs	1996/11/10 08:21:46	1.3
***************
*** 396,403 ****
   */
  
  /* 3COM Products */
! product	3COM 3C590	0x5900	3c590
! product	3COM 3C595	0x5950	3c595
  
  /* Acer products */
  product ACER M1435	0x1435	M1435
--- 396,409 ----
   */
  
  /* 3COM Products */
! product	3COM 3C590	0x5900	3c590 10Mbps
! product	3COM 3C595TX	0x5950	3c595 100Base-TX
! product	3COM 3C595T4	0x5951	3c595 100Base-T4
! product	3COM 3C595MII	0x5952	3c595 100Base-T/MII
! product	3COM 3C900TPO	0x9000	3c900 10Base-T
! product	3COM 3C900COMBO	0x9001	3c900 10Mbps-Combo
! product	3COM 3C905TX	0x9050	3c905 100Base-TX
! product	3COM 3C905T4	0x9051	3c905 100Base-T4
  
  /* Acer products */
  product ACER M1435	0x1435	M1435
*** if_ep_pci.c	1996/11/10 07:50:02	1.1
--- if_ep_pci.c	1996/11/10 08:21:39	1.3
***************
*** 101,107 ****
  
  	switch (PCI_PRODUCT(pa->pa_id)) {
  	case PCI_PRODUCT_3COM_3C590:
! 	case PCI_PRODUCT_3COM_3C595:
  		break;
  	default:
  		return 0;
--- 101,113 ----
  
  	switch (PCI_PRODUCT(pa->pa_id)) {
  	case PCI_PRODUCT_3COM_3C590:
! 	case PCI_PRODUCT_3COM_3C595TX:
! 	case PCI_PRODUCT_3COM_3C595T4:
! 	case PCI_PRODUCT_3COM_3C595MII:
! 	case PCI_PRODUCT_3COM_3C900TPO:
! 	case PCI_PRODUCT_3COM_3C900COMBO:
! 	case PCI_PRODUCT_3COM_3C905TX:
! 	case PCI_PRODUCT_3COM_3C905T4:
  		break;
  	default:
  		return 0;
***************
*** 159,167 ****
  	case PCI_PRODUCT_3COM_3C590:
  		model = "3Com 3C590 Ethernet";
  		break;
! 
! 	case PCI_PRODUCT_3COM_3C595:
  		model = "3Com 3C595 Ethernet";
  		break;
  	default:
  		model = "unknown model!";
--- 165,182 ----
  	case PCI_PRODUCT_3COM_3C590:
  		model = "3Com 3C590 Ethernet";
  		break;
! 	case PCI_PRODUCT_3COM_3C595TX:
! 	case PCI_PRODUCT_3COM_3C595T4:
! 	case PCI_PRODUCT_3COM_3C595MII:
  		model = "3Com 3C595 Ethernet";
+ 		break;
+ 	case PCI_PRODUCT_3COM_3C900TPO:
+ 	case PCI_PRODUCT_3COM_3C900COMBO:
+ 		model = "3Com 3C900 Ethernet";
+ 		break;
+ 	case PCI_PRODUCT_3COM_3C905TX:
+ 	case PCI_PRODUCT_3COM_3C905T4:
+ 		model = "3Com 3C905 Ethernet";
  		break;
  	default:
  		model = "unknown model!";