Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!newsfeed.ksu.ksu.edu!news.physics.uiowa.edu!math.ohio-state.edu!uwm.edu!lll-winken.llnl.gov!venus.sun.com!wnoc-sfc-news!kogwy!hosokawa From: hosokawa@mt.cs.keio.ac.jp (HOSOKAWA Tatsumi) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: 3Com 589... zp driver doesn't work? Date: 8 Apr 1996 12:39:05 GMT Organization: Tokoro Laboratory, Keio University, Yokohama Japan. Lines: 467 Message-ID: <4kb1d9$ipt@kogwy.cc.keio.ac.jp> References: <315721B7.41C67EA6@cosmic.org> <4jnm9f$670@kogwy.cc.keio.ac.jp> <4k9hee$29p@anorak.coverform.lan> NNTP-Posting-Host: beretta.mt.cs.keio.ac.jp Dnas-Posting-Host: 131.113.11.112 X-Newsreader: gn + gnspool [Version 1.31 OCT.1,1994 (Unix)] In article <4k9hee$29p@anorak.coverform.lan> brian@awfulhak.demon.co.uk writes: >> Be careful with the nep driver, In my experience, it isn't as good as the >> ep driver (modified via the pccard-960318 release). Both drivers hang >> under heavy load, and both give lousy throughput (~100k/sec). The nep >> driver however takes the kernel with it when it hangs. The ep driver >> just jams the interface until you do a tcpdump, then everything frees >> up again. They do however work - and have been _HUGELY_ useful to me ! It works on my machine very fast, hmm.... The throughput is about 600k ~ 700kbyte/sec. Old ep of FreeBSD (2.0?) has same bug that hangs up on heavy load.... I don't remember what change made this bug fixed. >> I tried mailing HOSOKAWA Tatsumi (hosokawa@mt.cs.keio.ac.jp) with these >> changes, but they didn't make it into the 960318 release (if they made >> it at all). Sorry. I forgot to incorporate this change. Next release will have this change. BTW, now I'm reconstructing the PC-card package, (especially the specification of pccardd) and I made an internal developper's release yesterday. But I found some problems on this release and I'm fixing this bug. This is the new /etc/pccard.conf (of next internal release) :-). If you have read old one, you can easily understand the merit of new syntax. hosokawa # PC-card sample configuration file # Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp> # # Removing all IRQ conflicts from this file can't be done because of some # IRQ-selfish PC-cards. So if you want to use some of these cards in # your machine, you will be forced to modify their IRQ parameters from # the following list. # # $Id: pccard.conf,v 1.33 1996/04/06 18:26:11 hosokawa Exp hosokawa $ # Generally available IO ports io 0x240-0x2e0 0x300-0x360 # Generally available IRQs irq 10 11 # Available memory slots memory 0xd4000 96k #IBM PCMCIA Ethernet I/II card "IBM Corp\." "Ethernet" config default "ed0" any ether 0xff0 08:00:5a 00:04:ac insert echo IBM PCMCIA Ethernet inserted insert /etc/pccard_ether $device remove echo IBM PCMCIA Ethernet removed remove /etc/pccard_ether_remove $device # Planet Smart COM 2000, Melco LPC-T card "PCMCIA" "UE2212" config default "ed0" any 0x10 ether 0xff0 00:00:e8 insert echo UE2212 inserted insert /etc/pccard_ether $device remove echo UE2212 card removed remove /etc/pccard_ether_remove $device # Accton EN2212 card "ACCTON" "EN2212" config default "ed0" any 0x30 ether 0xff0 00:00:e8 insert echo Accton EN2212 inserted insert /etc/pccard_ether $device remove echo Accton EN2212 removed remove /etc/pccard_ether_remove $device # Planet Smart COM 3500 card "IC-CARD" "IC-CARD" config default "ed0" any 0x10 insert echo Planet Smart Com 3500 inserted insert /etc/pccard_ether $device remove echo Planet Smart Com 3500 removed remove /etc/pccard_ether_remove $device # 3Com Etherlink III 3C589B, 3C589C card "3Com Corporation" "3C589" config default "nep0" any insert echo 3Com Etherlink III inserted insert /etc/pccard_ether $device remove echo 3Com Etherlink III removed remove /etc/pccard_ether_remove $device # Farallon EtherMac card "Farallon" "ENet" config default "nep0" any insert echo Farallon EtherMac inserted insert /etc/pccard_ether $device remove echo Farallon EtherMac removed remove /etc/pccard_ether_remove $device # Fujitsu FMV-J181 card "PCMCIA MBH10302" "01" config default "fe0" any insert echo Fujitsu FMV-J181 inserted insert /etc/pccard_ether $device remove echo Fujitsu FMV-J181 removed remove /etc/pccard_ether_remove $device # NextCom J Link NC5310 card "NextComK\.K\." "NC5310 Ver1\.0.*" config default "fe0" any insert echo NextCom J Link NC5310 inserted insert /etc/pccard_ether $device remove echo NextCom J Link NC5310 removed remove /etc/pccard_ether_remove $device # HITACHI HT-4840-11 card "HITACHI" "HT-4840-11" config default "fe0" any insert echo HT-4840-11 inserted insert /etc/pccard_ether $device remove echo HT-4840-11 removed remove /etc/pccard_ether_remove $device # CONTEC C-NET(PC)C Ethernet card "CONTEC Co\.,Ltd\." "C-NET\(PC\)C.*" config default "fe0" any ether 0x58 00:80:4c insert echo CONTEC C-NET inserted insert /etc/pccard_ether $device remove echo CONTEC C-NET removed remove /etc/pccard_ether_remove $device # TDK LAC-CD021, LAC-CD021A card "TDK" "LAC-CD02x" config default "fe0" any ether 0x92 00:80:98 insert echo TDK LAC-CD021 inserted insert /etc/pccard_ether $device remove echo TDK LAC-CD021 removed remove /etc/pccard_ether_remove $device # Fujitsu FMV-J182, FMV-J182A card "FUJITSU" "LAN Card\(FMV-J182\)" config default "fe0" any ether 0xf2c 00:00:e0 # FMV-J182 ether 0x1cc 00:00:e0 # FMV-J182A insert echo Fujitsu FMV-J182 insert /etc/pccard_ether $device remove echo Fujitsu FMV-J182 remove /etc/pccard_ether_remove $device # Megahertz X-Jack Ethernet CC10BT/2 card "Megahertz" "CC10BT/2" config default "sn0" any insert echo X-Jack Ethernet inserted insert /etc/pccard_ether $device remove echo X-Jack Ethernet removed remove /etc/pccard_ether_remove $device # Megahertz Ethernet Adapter card "Megahertz" "ETHERNET ADAPTOR" config default "sn0" any insert echo Megahertz Ethernet inserted insert /etc/pccard_ether $device remove echo Megahertz Ethernet removed remove /etc/pccard_ether_remove $device # Dayna Communications CommuniCard E card "Dayna Communications, Inc\." "CommuniCard E" config default "ed0" any 0x10 ether 0x110 insert echo Dayna CommuniCard inserted insert /etc/pccard_ether $device remove echo Dayna CommuniCard remove remove /etc/pccard_ether_remove $device # Omron MD24XCA FAX/Data Modem card "OMRON Corp\." "MD24XCA" config 0x23 "sio2" pio reset 10000 insert echo OMRON MD24XCA Modem inserted remove echo OMRON MD24XCA Modem removed # US Robotics Sportster PCMCIA V.34 # US Robotics COURIER PCMCIA V.34 card "USRobotics" "PCMCIA 28800.*" config 0x3 "sio2" any insert echo USRobotics PCMCIA Modem inserted remove echo USRobotics PCMCIA Modem removed # Xircom CreditCard Ethernet/Modem (Modem only) card "Xircom" "CreditCard Ethernet" config 0x23 "sio2" any insert echo Xircom CreditCard Modem inserted remove echo Xircom CreditCard Modem removed # BUG Linkboy D64K (ISDN) card "BUG Inc\." "Linkboy D64K" config 0x23 "sio2" any insert echo BUG Linkboy D64K inserted remove echo BUG Linkboy D64K removed # NTT DoCoMo DATA/FAX Adapter card "NTT DoCoMo" "PCMCIA DATA/FAX.*" config 0x22 "sio3" any 0x82 insert echo NTT DoCoMo DATA/FAX Adapter inserted remove echo NTT DoCoMo DATA/FAX Adapter removed # Panasonic FM-RADIO card card "Panasonic" "CF-JVR101" config 0x22 "sio3" pio insert echo Panasonic FM radio card inserted remove echo Panasonic FM radio card removed # Adaptec SlimSCSI card "Adaptec, Inc\." "APA-1460.*" config default "aic0" any insert echo Adaptec Slim SCSI inserted remove echo Adaptec Slim SCSI removed # NewMedia Bustoaster SCSI card "New Media" "SCSI" config 0x22 "aic0" any insert echo New Media Bus Toaster inserted remove echo New Media Bus Toaster removed # REX5535AC, REX5535X SCSI card "PCMCIA SCSI MBH1040" "01" config 0x3a "spc0" any insert echo REX-5535 SCSI card inserted remove echo REX-5535 SCSI card removed # DHU Mobile Media CD-ROM card "Digital Equipment Corporation\." "Digital Mobile Media CD-ROM" config 0xb "wdc1" 15 # ------------------------------------------------------------------- # # Experimental ---- If you have one of them, please e-mail me *WHETHER # IT WORKS OR NOT*. I wrote these entries by reading Linux PCMCIA driver # package. I've not tested them. I need results of your experiences. # Especially, if the ed_probe() is succeeded, it does not always mean # that probed MAC address is correct. If you have or if your friend # has these cards, send me the result of the results of # # pccardc dumpcis # and # pccardc rdattr 0 0 1000 (the first 0 means slot number) # # of these cards. I can write more accurate pccard.conf entries if I # can read these result. # # I NEED YOUR HELP!!!! # # Thanks. # # My e-mail address is hosokawa@mt.cs.keio.ac.jp (Tatsumi Hosokawa) # # Accton EN2216 EtherCard card "ACCTON" "EN2216-PCMCIA-ETHERNET" config default "ed0" any 0x10 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # Allied Telesis Ethernet Card card "Allied Telesis,K\.K" "Ethernet LAN Card" config default "ed0" any 0x10 ether 0xff0 00:00:f4 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # CNet CN30BC Ethernet Card card "CNet.*" "CN30BC" config default "ed0" any 0x10 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # CNet CN40BC Ethernet Card card "CNet" "CN40BC Ethernet" config default "ed0" any 0x10 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # DataTrek NetCard card "DataTrek\." "NetCard" config default "ed0" any 0x10 ether 0xff0 00:20:e8 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # Digital DEPCM-BA Ethernet card "DIGITAL" "DEPCM-XX" config default "ed0" any 0x10 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # D-Link DE-650 Ethernet Card card "D-Link" "DE-650" config default "ed0" any 0x10 ether 0x40 00:80:c8 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # D-Link DE-650 Ethernet Card card ".*D-Link PC Ethernet Card.*" ".*" config default "ed0" any 0x10 ether 0x40 00:80:c8 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # Edimax Ethernet Combo card "Edimax Technology Inc\." "PCMCIA" config default "ed0" any 0x10 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # EP-210 Ethernet Card card "Ethernet PCMCIA adapter" "EP-210" config default "ed0" any 0x10 ether 0x110 00:40:33 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # Epson EEN10B Ethernet Card card "Seiko Epson Corp\." "Ethernet" config default "ed0" any 0x10 ether 0xff0 00:00:48 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # Grey Cell GCS2220 Ethernet Card card "Grey Cell" "GCS2220" config default "ed0" any 0x10 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # GVC NIC-2000P Ethernet Card card "GVC" "NIC-2000p" config default "ed0" any 0x10 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # National Semiconductor InfoMover 4100 card "National Semiconductor" "InfoMover 4100" config default "ed0" any ether 0xff0 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # Katron PE-520 Ethernet Card card "KCI" "PE520 PCMCIA Ethernet Adapter" config default "ed0" any 0x10 ether 0x110 00:40:f6 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # Kingston KNE-PCM/x Ethernet card "Kingston Technology Corp\." "EtheRx PC Card Ethernet.*" config default "ed0" any ether 0xff0 00:c0:f0 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # Linksys Ethernet Card card ".*E-CARD PC Ethernet Card.*" ".*" config default "ed0" any 0x10 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # Linksys Ethernet Card card "E-CARD" "E-CARD" config default "ed0" any 0x10 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # Maxtech PCN2000 Ethernet card "MAXTECH" "PCN2000" config default "ed0" any 0x10 ether 0x5000 00:00:e8 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # NDC Instant-Link card "NDC" "Ethernet" config default "ed0" any 0x10 ether 0x3a 00:80:c6 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # NE2000 Compatible Ethernet Card card "NE2000 Compatible" "PCMCIA" config default "ed0" any 0x10 ether 0xff0 00:a0:0c insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # PreMax PE-200 Ethernet Card card "PMX " "PE-200" config default "ed0" any 0x10 ether 0x7f0 00:20:e0 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # RPTI EP400 Ethernet Card card "RPTI LTD\." "EP400" config default "ed0" any 0x10 ether 0x110 00:40:95 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # SCM Ethernet Combo card "SCM" "Ethernet Combo card" config default "ed0" any 0x10 ether 0xff0 00:20:cb insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # Socket EA LAN Adapter # This card should not work because of its broken DMA status register, # if you have this card, please fix this bug. card "Socket Communications Inc" "Socket EA PCMCIA LAN.*" # This card has broken CIS tupples # We can't use "default" config 0x1 "ed0" any 0x30 ether 0x4000 00:c0:1b insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # ------------------------------------------------------------------- # # "Wildcard" entries # # GENERIC PCMCIA modem function serial config 0x23 "sio2" any # config 0x23 "sio2" pio # alternative definitions # config 0x21 "sio2" any # ......... # config 0x22 "sio2" any # config 0x21 "sio2" pio # config 0x22 "sio2" pio # config 0x23 "sio2" 5 # config 0x21 "sio2" 5 # config 0x22 "sio2" 5 # reset 100 # default reset 1000 # safety reset time # reset 10000 # for unstable cards insert echo PCMCIA Modem inserted remove echo PCMCIA Modem inserted # GENERIC Flash ATA / ATA HDD function fixed_disk config default "wdc1" 15 # config default "wdc1" any # alternative definitions # config 0x03 "wdc1" 15 # ......... # config 0x03 "wdc1" any insert echo Flash ATA / ATA HDD inserted remove echo Flash ATA / ATA HDD removed -- HOSOKAWA, Tatsumi E-mail: hosokawa@mt.cs.keio.ac.jp WWW homepage: http://www.mt.cs.keio.ac.jp/person/hosokawa.html Department of Computer Science, Keio University, Yokohama, Japan