summaryrefslogtreecommitdiff
path: root/sys/dev/ed
Commit message (Collapse)AuthorAgeFilesLines
* Remove duplicate FBSDID's, move others to their right place.David E. O'Brien2003-11-141-2/+3
| | | | Notes: svn path=/head/; revision=122678
* Try to create some sort of consistency in how the routings to find theDavid E. O'Brien2003-11-131-13/+11
| | | | | | | | | | multicast hash are written. There are still two distinct algorithms used, and there actually isn't any reason each driver should have its own copy of this function as they could all share one copy of it (if it grew an additional argument). Notes: svn path=/head/; revision=122625
* Replace the if_name and if_unit members of struct ifnet with new membersBrooks Davis2003-10-316-21/+17
| | | | | | | | | | | | | | | | if_xname, if_dname, and if_dunit. if_xname is the name of the interface and if_dname/unit are the driver name and instance. This change paves the way for interface renaming and enhanced pseudo device creation and configuration symantics. Approved By: re (in principle) Reviewed By: njl, imp Tested On: i386, amd64, sparc64 Obtained From: NetBSD (if_xname) Notes: svn path=/head/; revision=121816
* There is no way to enter the attach routine twice with the same softcBrooks Davis2003-10-301-43/+41
| | | | | | | | | | without a detach call in between so don't try to deal with that possiability. This is a diff-reduction commit for the upcoming if_xname conversion. Notes: svn path=/head/; revision=121752
* Add Allied Telesis SIC-AT boards support.Takeshi Shibagaki2003-10-155-3/+132
| | | | | | | | | | | | | | | | Discussed in from [FreeBSD-tech-jp 3396] to [FreeBSD-tech-jp 3407] at FreeBSD-tech-jp@jp.freebsd.org. NOTE: We must put ed_probe_SIC() function into if_ed_isa.c because this is a bus dependent code. But the ed driver code is not separated explicitly whether it is bus dependent or independent now. Refer to: http://plaza17.mbn.or.jp/~chi/myprog/FreeBSD/sicat.html Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) Notes: svn path=/head/; revision=121118
* EXPsys PCMCIA Ethernet ComboWarner Losh2003-09-201-1/+3
| | | | | | | Submitted by: Ludwig Pummer Notes: svn path=/head/; revision=120292
* Use PCIR_BAR(x) instead of PCIR_MAPS.John Baldwin2003-09-021-1/+1
| | | | | | | | Glanced over by: imp, gibbs Tested by: i386 LINT Notes: svn path=/head/; revision=119690
* Use __FBSDID().David E. O'Brien2003-08-242-5/+7
| | | | | | | Also some minor style cleanups. Notes: svn path=/head/; revision=119418
* Prefer new location of pci include files (which have only been in theWarner Losh2003-08-221-2/+2
| | | | | | | | tree for two or more years now), except in a few places where there's code to be compatible with older versions of FreeBSD. Notes: svn path=/head/; revision=119277
* Add MELCO LPC3_CTX. This is the same as Buffalo card of the same nameWarner Losh2003-08-071-0/+1
| | | | | | | | | with different vendor id. Submitted by: Shizuka Kudo-san Notes: svn path=/head/; revision=118636
* Consistently use the BSD u_int and u_short instead of the SYSV uint andJohn Baldwin2003-08-071-1/+1
| | | | | | | | | | ushort. In most of these files, there was a mixture of both styles and this change just makes them self-consistent. Requested by: bde (kern_ktrace.c) Notes: svn path=/head/; revision=118607
* Don't use pessimal (u_short) types for i/o ports. This is mainly forBruce Evans2003-08-061-1/+1
| | | | | | | | | | | | | completenss. The pessimization is tiny compared with i/o port slowness except on very old machines, but code that used signed short types for i/o ports was unpessimized long ago, and the macro that detected it recently started working for u_short types too. Use of bus space should have made this moot long ago. Not tested at runtime by: bde Notes: svn path=/head/; revision=118557
* The LP_ETH_10_100_CF entry needs to be tagged as a DL100019.Warner Losh2003-07-281-1/+1
| | | | | | | Submitted by: Scott Renfro Notes: svn path=/head/; revision=118102
* Add Socket Communications Low Power 10/100 CF Ethernet card.Warner Losh2003-07-261-0/+1
| | | | | | | Obtained from: NetBSD (information, not code) Notes: svn path=/head/; revision=118065
* Add support for BUFFALO LPC3-CLX 10/100Base-T PC-CardWarner Losh2003-07-191-0/+1
| | | | | | | | PR: 47786 Submitted by: IHA, genta -san Notes: svn path=/head/; revision=117761
* - Express hard dependencies on bus (pci, isa, pccard) andMatthew N. Dodd2003-04-154-4/+12
| | | | | | | | | | | network layer (ether). - Don't abuse module names to facilitate ifconfig module loading; such abuse isn't really needed. (And if we do need type information associated with a module then we should make it explicit and not use hacks.) Notes: svn path=/head/; revision=113506
* SMC 8041 is the same thing as LINKSYS COMBO_ECARD, so no extra entryWarner Losh2003-04-101-1/+0
| | | | | | | | | | | | | is required. NetBSD has one because it checks for the mac address match as well wanting to give its own string in the description. Since we do neither, we don't need a separate entry. # I suspect that a few of the COREGA cards might fall into that category # as well, but since I don't have access to any of them it is hard to know # for sure. Notes: svn path=/head/; revision=113326
* Add Billionton CFLT10N and SMC8041 (although I'm not 100% sure the latter isWarner Losh2003-04-101-1/+2
| | | | | | | | | needed). Remove duplicate kingston kne2 entry. Info obtained from NetBSD Notes: svn path=/head/; revision=113324
* reorganize the supported card table. We don't need the enet_vendor orWarner Losh2003-04-101-272/+57
| | | | | | | | | | | enet_mcast fields, so remove them. Sort. Eliminate now duplicate entries. This reorg saves about 500 bytes in the binary. I've tested this only with a couple of cards, so please let me know if I've broken anything. Notes: svn path=/head/; revision=113320
* Don't set the description if NULL.Warner Losh2003-04-101-1/+2
| | | | Notes: svn path=/head/; revision=113317
* Fix ed compilation with PAE by using %jx instead of %x.Olivier Houchard2003-04-051-4/+4
| | | | Notes: svn path=/head/; revision=113131
* Add NE2000DVF_AX88190 flag to Corega FEther PCC-TXDMIHIRA Sanpei Yoshiro2003-04-041-1/+1
| | | | | | | (see also /etc/defaults/pccard.conf rev.1.172) Notes: svn path=/head/; revision=113080
* - Add vm_paddr_t, a physical address type. This is required for systemsJake Burkholder2003-03-252-6/+6
| | | | | | | | | | | | | | | | | | where physical addresses larger than virtual addresses, such as i386s with PAE. - Use this to represent physical addresses in the MI vm system and in the i386 pmap code. This also changes the paddr parameter to d_mmap_t. - Fix printf formats to handle physical addresses >4G in the i386 memory detection code, and due to kvtop returning vm_paddr_t instead of u_long. Note that this is a name change only; vm_paddr_t is still the same as vm_offset_t on all currently supported platforms. Sponsored by: DARPA, Network Associates Laboratories Discussed with: re, phk (cdevsw change) Notes: svn path=/head/; revision=112569
* Fix printf format error.Yoshihiro Takahashi2003-02-241-6/+6
| | | | Notes: svn path=/head/; revision=111427
* Back out M_* changes, per decision of the TRB.Warner Losh2003-02-191-2/+2
| | | | | | | Approved by: trb Notes: svn path=/head/; revision=111119
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.Alfred Perlstein2003-01-211-2/+2
| | | | | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT. Notes: svn path=/head/; revision=109623
* Add BUFFALO LPC-CF-CLT(10Base-T Compact Flash Ether Card).Takeshi Shibagaki2003-01-181-0/+2
| | | | Notes: svn path=/head/; revision=109455
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,Jens Schweikhardt2003-01-012-2/+2
| | | | | | | especially in troff files. Notes: svn path=/head/; revision=108533
* network interface driver changes:Sam Leffler2002-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 Notes: svn path=/head/; revision=106937
* add some devices from NetBSDWarner Losh2002-10-111-1/+9
| | | | Notes: svn path=/head/; revision=104857
* Use if_printf() instead of printf() to print "ed#: blah".Brooks Davis2002-10-011-3/+2
| | | | Notes: svn path=/head/; revision=104253
* mbuf leak in the error case has been fixed. When we haveWarner Losh2002-09-301-1/+3
| | | | | | | | | | an error, go ahead and m_freem the buffer. PR: 32666 Submitted by: Chi-Fung Fan Notes: svn path=/head/; revision=104166
* Be consistent about "static" functions: if the function is markedPoul-Henning Kamp2002-09-281-2/+2
| | | | | | | | | static in its prototype, mark it static at the definition too. Inspired by: FlexeLint warning #512 Notes: svn path=/head/; revision=104094
* 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-68/+66
| | | | 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