aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ed
Commit message (Collapse)AuthorAgeFilesLines
* Add ALLIED TELESIS,K.K. LA-ISA V2 ISA PnP ID.Takanori Watanabe2002-07-261-0/+1
| | | | | | | | Submitted by: nork MFC after: 3 days Notes: svn path=/head/; revision=100721
* integrate from p4 repo:Warner Losh2002-07-221-9/+16
| | | | | | | | | | | | | o Honor NE2000DVF_{AX88190,DL10019} flags by setting the ED_FLAGS_xxxx flag. o Mark linksys combo_ecard as ax88190 o Set the type_str to AX88190 for the ax88190 cards. This fixes ax88190 based cards, for the most part, but doesn't seem to fix the mii based dl10019 cards (aka linksys cards). Notes: svn path=/head/; revision=100531
* More newcard devices:Warner Losh2002-04-021-1/+14
| | | | | | | | | | | | | Netgear FA-410TXC Netgear FA-411 Lantech Fastnet TX Linksys pcm100 Hide the total wildcard device for SVEC too :-( Obtained from: NetBSD/OpenBSD Notes: svn path=/head/; revision=93626
* Remove __P.Alfred Perlstein2002-03-205-70/+68
| | | | Notes: svn path=/head/; revision=92739
* Add EDIMAX ethernet card for NEWCARD from NetBSDWarner Losh2002-01-291-0/+2
| | | | Notes: svn path=/head/; revision=89952
* Patch to allow the ed driver interrupt routine to terminate if theWarner Losh2001-11-241-4/+17
| | | | | | | | | | | | | | | card is ejected while we're in this routine. yamamoto-san's original patch had a small race window for AX88190 chips, which I corrected by limiting the number of iterations we'd try to reset the bits to be about 15ms rather than forever. This seems to work for me, but I don't have a large collections of cards based on this chipset. Submitted by: YAMAMOTO Shigeru Notes: svn path=/head/; revision=86865
* Comment out some bogus entries. somehow they match everything, whichWarner Losh2001-11-201-5/+4
| | | | | | | | is bad. I need to correct pccarddev, but I'm not sure how just at the moment. So I'm firewalling the damage. Notes: svn path=/head/; revision=86643
* MF NetBSD's if_ne_pcmcia.c rev 1.82's list of devicesWarner Losh2001-11-151-6/+20
| | | | Notes: svn path=/head/; revision=86396
* Migrate to PCMCIA_CARD() macrosWarner Losh2001-11-151-174/+48
| | | | Notes: svn path=/head/; revision=86394
* s/PCCARD_/PCMCIA_/g in NEWCARD device tables to enable easier NetBSD sharingWarner Losh2001-11-111-133/+133
| | | | Notes: svn path=/head/; revision=86273
* MFS: sync the ipfw/dummynet/bridge code with the one recently mergedLuigi Rizzo2001-11-041-3/+1
| | | | | | | into stable (mostly , but not only, formatting and comments changes). Notes: svn path=/head/; revision=86047
* Always compile in bridge hooks, or this code will not work (efficiently) withLuigi Rizzo2001-11-011-8/+4
| | | | | | | the loadable bridge module. Notes: svn path=/head/; revision=85838
* Fix obvious bug where return from probe was botched.Jeroen Ruigrok van der Werven2001-10-311-1/+1
| | | | | | | | | | People with HP PCLAN+ NICs can now happily use the card again PR: 21087 Submitted by: M. B. Buchanan <buchanan@orbitworld.net> Notes: svn path=/head/; revision=85783
* Make this compile again after the changes to make bridge kld'ableLuigi Rizzo2001-10-071-3/+3
| | | | Notes: svn path=/head/; revision=84601
* Add an option ED_NO_MIIBUS, which causes the `ed' driver to beIan Dowse2001-09-293-0/+38
| | | | | | | | | built without support for miibus PHYs. Most ed cards don't need miibus support, so it's useful to be able to avoid the bloat of all the mii devices for small fixed-purpose kernels. Notes: svn path=/head/; revision=84151
* Add a few missing spl calls in preparation for an MFC of the miibusIan Dowse2001-07-221-6/+15
| | | | | | | support. Notes: svn path=/head/; revision=80166
* Remove an old hack that remembered if the card type was Linksys byIan Dowse2001-07-221-7/+3
| | | | | | | | | | storing a flag in the global variable 'linksys' during the probe routine and reading it during the attach routine. We now have the ED_VENDOR_LINKSYS vendor code stored in sc->vendor, so check that instead. Notes: svn path=/head/; revision=80163
* Attach the miibus for Linksys/Dlink cards from the attach routine,Ian Dowse2001-07-222-6/+11
| | | | | | | | | | | | | | not from the probe routine. This was an oversight when I originally ported the miibus support to -current, though it was mostly harmless. We now set the vendor code to the new value ED_VENDOR_LINKSYS in ed_pccard_Linksys() at probe time. Then ed_pccard_attach() checks the vendor code, and sets up the miibus if appropriate. Reviewed by: imp Notes: svn path=/head/; revision=80159
* Add support for Dlink DL10022 to the ed driver. This is a mii partWarner Losh2001-03-035-0/+277
| | | | | | | | | | | | | | | | | bolted to a ne-2000 chip. This is necessary for the NetGear FA-410TX and other cards. This also requires you add mii to your kernel if you have an ed driver configured. This code will result in a couple of timeout messages for ed on the impacted cards. Additional work will be needed, but this does work right now, and many people need these cards. Submitted by: Ian Dowse <iedowse@maths.tcd.ie> Notes: svn path=/head/; revision=73374
* Whoops... forgotten a few pieces in previous patch:Luigi Rizzo2001-02-081-5/+9
| | | | | | | | | | * a ">" is really ">=" ; * do not try to fetch zero-sized blocks from the card; * make sure that bpf gets the packets it wants even with bridging active; Notes: svn path=/head/; revision=72193
* Make sure that we do not accept packets shorter than a full ethernetLuigi Rizzo2001-02-081-1/+3
| | | | | | | header, or we would have a negative length passed to ether_input(). Notes: svn path=/head/; revision=72190
* Convert if_multiaddrs from LIST to TAILQ so that it can be traversedPoul-Henning Kamp2001-02-061-1/+1
| | | | | | | | | backwards in the three drivers which want to do that. Reviewed by: mikeh Notes: svn path=/head/; revision=72084
* Fix typo: wierd -> weird.Jeroen Ruigrok van der Werven2001-02-061-1/+1
| | | | | | | There is no such thing as wierd in the english language. Notes: svn path=/head/; revision=72082
* Another round of the <sys/queue.h> FOREACH transmogriffer.Poul-Henning Kamp2001-02-041-2/+1
| | | | | | | | Created with: sed(1) Reviewed by: md5(1) Notes: svn path=/head/; revision=72012
* Mechanical change to use <sys/queue.h> macro API instead ofPoul-Henning Kamp2001-02-041-2/+2
| | | | | | | | | | fondling implementation details. Created with: sed(1) Reviewed by: md5(1) Notes: svn path=/head/; revision=71999
* Add a bunch of entries from NetBSD's if_ne_pcmcia.c v1.67. We stillWarner Losh2001-01-211-5/+371
| | | | | | | | need to verify that all the entries in pccard.conf are present in this table. Notes: svn path=/head/; revision=71324
* select() DKI is now in <sys/selinfo.h>.Garrett Wollman2001-01-091-1/+0
| | | | Notes: svn path=/head/; revision=70834
* Minor newbus/style(9) cleanups.Warner Losh2000-12-266-87/+93
| | | | | | | | | | | | | | o Move the ax88190 code to its own function. o Move all device_method_t, driver_t and DRIVER_MODULE definitions to the end of files. o Wrap a few lines > 80 characters. o Use the same devclass for all ed drivers. This allows machines with multiple types of cards to have their cards numbered correctly. Before, you could wind up with two ed0's. o Protect if_edvar.h from multiple includes because I was there. Notes: svn path=/head/; revision=70355
* Fix my previous commit. Remove ed_get_Linksys() function prototypes.Toshihiko ARAI2000-12-201-2/+0
| | | | Notes: svn path=/head/; revision=70234
* Linksys Fast Ethernet PCCARD cards supported by the ed driver nowToshihiko ARAI2000-12-183-39/+44
| | | | | | | | | | | require the addition of flag 0x80000 to their config line in pccard.conf(5). This flag is not optional. These Linksys cards will not be recognized without it. Reviewed by: imp, iwasaki Notes: svn path=/head/; revision=70154
* Call ed_probe_Novel in the AX88190 case as well.Warner Losh2000-12-171-1/+1
| | | | | | | | | Remove stary blank line. Submitted by: Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp> Notes: svn path=/head/; revision=70117
* Remove unnecessary includes found by phk's script. I've been buildingWarner Losh2000-12-134-5/+0
| | | | | | | these locally for ages. Notes: svn path=/head/; revision=69965
* Fix problem with ax88190 based cards trying to probe further afterWarner Losh2000-12-131-0/+1
| | | | | | | matching the ax88190. Notes: svn path=/head/; revision=69964
* Argh, I have fixed this cut/paste error twice before. I must havePeter Wemm2000-11-251-3/+3
| | | | | | | | committed the wrong patch. :-( sn_pccard_products[] should have been static anyway. Notes: svn path=/head/; revision=69150
* Update the ed driver to probe and attach under a NEWCARD kernel (I wasPeter Wemm2000-11-252-2/+35
| | | | | | | | | | | | | | | | using a cardbus based system with pccbb providing the pcic interface). Something isn't quite right.. when the driver allocates and activates its resources, the IO space that was requested reads as all zeros (versus the original 0xff's as it normally is when there is no device responding). Also, deactivate the resources before releasing them. OLDCARD doesn't seem to care but NEWCARD/CARDBUS get rather unhappy if you release a resource that hasn't been deactivated yet. Make pcic_p.c only compile with oldcard kernels. Notes: svn path=/head/; revision=69137
* Network modules are all "if_foo" not "foo". Avoid the confusing spew thatMike Smith2000-10-154-4/+4
| | | | | | | ensues when ifconfig tries to load if_ed.ko when it's already in the kernel. Notes: svn path=/head/; revision=67172
* Remove unneeded #include <machine/clock.h>Poul-Henning Kamp2000-10-152-2/+0
| | | | Notes: svn path=/head/; revision=67164
* Allocate memory resource to access the attribute memory of a card.Seigo Tanimura2000-09-251-65/+24
| | | | | | | Reviewed by: imp Notes: svn path=/head/; revision=66332
* Move the detection of Linksys PCMCIA cards from attach to probe.Paul Saab2000-09-123-4/+7
| | | | | | | | | This should solve the problems people were seeing with this driver. Reported by: phk & others. Notes: svn path=/head/; revision=65771
* - Fixed the conversion to bus_space interface.Yoshihiro Takahashi2000-08-177-608/+2504
| | | | | | | | | - Added PC-98 Cbus devices support. The original patch is submitted by chi@bd.mbn.or.jp (Chiharu Shibata) - Removed old ed driver. Notes: svn path=/head/; revision=64777
* Newbusify ed driver.Seigo Tanimura2000-08-143-389/+482
| | | | | | | Partly submitted by: alex Notes: svn path=/head/; revision=64630
* MFPAO: Add support for AX88190, equipped in MELCO LPC3-TX.Seigo Tanimura2000-07-234-76/+273
| | | | Notes: svn path=/head/; revision=63775
* Fix the IRQ9/IRQ2 confusion.Poul-Henning Kamp2000-07-181-0/+1
| | | | | | | Submitted by: Alan Clegg <abc@bsdi.com> Notes: svn path=/head/; revision=63451
* Make all Ethernet drivers attach using ether_ifattach() and detach usingArchie Cobbs2000-07-132-7/+2
| | | | | | | | | | | | ether_ifdetach(). The former consolidates the operations of if_attach(), ng_ether_attach(), and bpfattach(). The latter consolidates the corresponding detach operations. Reviewed by: julian, freebsd-net Notes: svn path=/head/; revision=63090
* Only try to detect Linksys PCMCIA cards when we are in a pccardPaul Saab2000-06-293-22/+18
| | | | | | | | | environment. This fixes the breakage to ISA ethernet cards. Reviewed by: peter Notes: svn path=/head/; revision=62236
* Allow newer Linksys 10/100 PCMCIA cards to work.Paul Saab2000-06-181-12/+10
| | | | | | | Reviewed by: imp Notes: svn path=/head/; revision=61792
* ed_ioctl() can be called from ifpromisc() after the card has been removed,Poul-Henning Kamp2000-06-011-1/+1
| | | | | | | don't panic on a NULL pointer in that case. Notes: svn path=/head/; revision=61152
* Move code to handle BPF and bridging for incoming Ethernet packets outArchie Cobbs2000-05-141-53/+13
| | | | | | | | | | | | | | | | | | of the individual drivers and into the common routine ether_input(). Also, remove the (incomplete) hack for matching ethernet headers in the ip_fw code. The good news: net result of 1016 lines removed, and this should make bridging now work with *all* Ethernet drivers. The bad news: it's nearly impossible to test every driver, especially for bridging, and I was unable to get much testing help on the mailing lists. Reviewed by: freebsd-net Notes: svn path=/head/; revision=60536
* Remove unneeded #include <sys/kernel.h>Poul-Henning Kamp2000-04-291-1/+0
| | | | Notes: svn path=/head/; revision=59760
* sanpai-san (sanpai@sanpai.org) suggested that we put the novel probeWarner Losh2000-04-281-2/+2
| | | | | | | | | | | | | | first. This will fix a few cards that hang on the WD probe. He tells me that PAO went one step farther and removed the WD proble completely and none of the cards in the 2.x database broke in PAO3. Since I'm more conservative in this code, I'm just swapping the order, which he said also fixed his problem. Reviewed by: mdodd, iwasaki Submitted by: sanpai@sanpai.org Notes: svn path=/head/; revision=59720