summaryrefslogtreecommitdiffstats
path: root/sys/dev/ed
Commit message (Collapse)AuthorAgeFilesLines
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-2/+2
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* Add BUFFALO LPC-CF-CLT(10Base-T Compact Flash Ether Card).shiba2003-01-181-0/+2
|
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-012-2/+2
| | | | especially in troff files.
* network interface driver changes:sam2002-11-142-22/+10
| | | | | | | | | | | | | | o don't strip the Ethernet header from inbound packets; pass packets up the stack intact (required significant changes to some drivers) o reference common definitions in net/ethernet.h (e.g. ETHER_ALIGN) o track ether_ifattach/ether_ifdetach API changes o track bpf changes (use BPF_TAP and BPF_MTAP) o track vlan changes (ifnet capabilities, revised processing scheme, etc.) o use if_input to pass packets "up" o call ether_ioctl for default handling of ioctls Reviewed by: many Approved by: re
* add some devices from NetBSDimp2002-10-111-1/+9
|
* Use if_printf() instead of printf() to print "ed#: blah".brooks2002-10-011-3/+2
|
* mbuf leak in the error case has been fixed. When we haveimp2002-09-301-1/+3
| | | | | | | an error, go ahead and m_freem the buffer. PR: 32666 Submitted by: Chi-Fung Fan
* Be consistent about "static" functions: if the function is markedphk2002-09-281-2/+2
| | | | | | static in its prototype, mark it static at the definition too. Inspired by: FlexeLint warning #512
* Add ALLIED TELESIS,K.K. LA-ISA V2 ISA PnP ID.takawata2002-07-261-0/+1
| | | | | Submitted by: nork MFC after: 3 days
* integrate from p4 repo:imp2002-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).
* More newcard devices:imp2002-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
* Remove __P.alfred2002-03-205-70/+68
|
* Add EDIMAX ethernet card for NEWCARD from NetBSDimp2002-01-291-0/+2
|
* Patch to allow the ed driver interrupt routine to terminate if theimp2001-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
* Comment out some bogus entries. somehow they match everything, whichimp2001-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.
* MF NetBSD's if_ne_pcmcia.c rev 1.82's list of devicesimp2001-11-151-6/+20
|
* Migrate to PCMCIA_CARD() macrosimp2001-11-151-174/+48
|
* s/PCCARD_/PCMCIA_/g in NEWCARD device tables to enable easier NetBSD sharingimp2001-11-111-133/+133
|
* MFS: sync the ipfw/dummynet/bridge code with the one recently mergedluigi2001-11-041-3/+1
| | | | into stable (mostly , but not only, formatting and comments changes).
* Always compile in bridge hooks, or this code will not work (efficiently) withluigi2001-11-011-8/+4
| | | | the loadable bridge module.
* Fix obvious bug where return from probe was botched.asmodai2001-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>
* Make this compile again after the changes to make bridge kld'ableluigi2001-10-071-3/+3
|
* Add an option ED_NO_MIIBUS, which causes the `ed' driver to beiedowse2001-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.
* Add a few missing spl calls in preparation for an MFC of the miibusiedowse2001-07-221-6/+15
| | | | support.
* Remove an old hack that remembered if the card type was Linksys byiedowse2001-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.
* Attach the miibus for Linksys/Dlink cards from the attach routine,iedowse2001-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
* Add support for Dlink DL10022 to the ed driver. This is a mii partimp2001-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>
* Whoops... forgotten a few pieces in previous patch:luigi2001-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;
* Make sure that we do not accept packets shorter than a full ethernetluigi2001-02-081-1/+3
| | | | header, or we would have a negative length passed to ether_input().
* Convert if_multiaddrs from LIST to TAILQ so that it can be traversedphk2001-02-061-1/+1
| | | | | | backwards in the three drivers which want to do that. Reviewed by: mikeh
* Fix typo: wierd -> weird.asmodai2001-02-061-1/+1
| | | | There is no such thing as wierd in the english language.
* Another round of the <sys/queue.h> FOREACH transmogriffer.phk2001-02-041-2/+1
| | | | | Created with: sed(1) Reviewed by: md5(1)
* Mechanical change to use <sys/queue.h> macro API instead ofphk2001-02-041-2/+2
| | | | | | | fondling implementation details. Created with: sed(1) Reviewed by: md5(1)
* Add a bunch of entries from NetBSD's if_ne_pcmcia.c v1.67. We stillimp2001-01-211-5/+371
| | | | | need to verify that all the entries in pccard.conf are present in this table.
* select() DKI is now in <sys/selinfo.h>.wollman2001-01-091-1/+0
|
* Minor newbus/style(9) cleanups.imp2000-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.
* Fix my previous commit. Remove ed_get_Linksys() function prototypes.toshi2000-12-201-2/+0
|
* Linksys Fast Ethernet PCCARD cards supported by the ed driver nowtoshi2000-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
* Call ed_probe_Novel in the AX88190 case as well.imp2000-12-171-1/+1
| | | | | | Remove stary blank line. Submitted by: Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
* Remove unnecessary includes found by phk's script. I've been buildingimp2000-12-134-5/+0
| | | | these locally for ages.
* Fix problem with ax88190 based cards trying to probe further afterimp2000-12-131-0/+1
| | | | matching the ax88190.
* Argh, I have fixed this cut/paste error twice before. I must havepeter2000-11-251-3/+3
| | | | | committed the wrong patch. :-( sn_pccard_products[] should have been static anyway.
* Update the ed driver to probe and attach under a NEWCARD kernel (I waspeter2000-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.
* Network modules are all "if_foo" not "foo". Avoid the confusing spew thatmsmith2000-10-154-4/+4
| | | | ensues when ifconfig tries to load if_ed.ko when it's already in the kernel.
* Remove unneeded #include <machine/clock.h>phk2000-10-152-2/+0
|
* Allocate memory resource to access the attribute memory of a card.tanimura2000-09-251-65/+24
| | | | Reviewed by: imp
* Move the detection of Linksys PCMCIA cards from attach to probe.ps2000-09-123-4/+7
| | | | | | This should solve the problems people were seeing with this driver. Reported by: phk & others.
* - Fixed the conversion to bus_space interface.nyan2000-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.
* Newbusify ed driver.tanimura2000-08-143-389/+482
| | | | Partly submitted by: alex
* MFPAO: Add support for AX88190, equipped in MELCO LPC3-TX.tanimura2000-07-234-76/+273
|
OpenPOWER on IntegriCloud