summaryrefslogtreecommitdiffstats
path: root/sys/dev/ed
Commit message (Collapse)AuthorAgeFilesLines
* Added TDK LAK-CD031 (simple NE2000 device).kato2003-12-311-0/+1
| | | | Reviewed by: imp
* Don't use caddr_t in mchash(). Also use C99 spellings over BSD ones.obrien2003-12-081-5/+5
| | | | Requested by: bde,imp
* Remove duplicate FBSDID's, move others to their right place.obrien2003-11-141-2/+3
|
* Try to create some sort of consistency in how the routings to find theobrien2003-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).
* Replace the if_name and if_unit members of struct ifnet with new membersbrooks2003-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)
* There is no way to enter the attach routine twice with the same softcbrooks2003-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.
* Add Allied Telesis SIC-AT boards support.shiba2003-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)
* EXPsys PCMCIA Ethernet Comboimp2003-09-201-1/+3
| | | | Submitted by: Ludwig Pummer
* Use PCIR_BAR(x) instead of PCIR_MAPS.jhb2003-09-021-1/+1
| | | | | Glanced over by: imp, gibbs Tested by: i386 LINT
* Use __FBSDID().obrien2003-08-242-5/+7
| | | | Also some minor style cleanups.
* Prefer new location of pci include files (which have only been in theimp2003-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.
* Add MELCO LPC3_CTX. This is the same as Buffalo card of the same nameimp2003-08-071-0/+1
| | | | | | with different vendor id. Submitted by: Shizuka Kudo-san
* Consistently use the BSD u_int and u_short instead of the SYSV uint andjhb2003-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)
* Don't use pessimal (u_short) types for i/o ports. This is mainly forbde2003-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
* The LP_ETH_10_100_CF entry needs to be tagged as a DL100019.imp2003-07-281-1/+1
| | | | Submitted by: Scott Renfro
* Add Socket Communications Low Power 10/100 CF Ethernet card.imp2003-07-261-0/+1
| | | | Obtained from: NetBSD (information, not code)
* Add support for BUFFALO LPC3-CLX 10/100Base-T PC-Cardimp2003-07-191-0/+1
| | | | | PR: 47786 Submitted by: IHA, genta -san
* - Express hard dependencies on bus (pci, isa, pccard) andmdodd2003-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.)
* SMC 8041 is the same thing as LINKSYS COMBO_ECARD, so no extra entryimp2003-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.
* Add Billionton CFLT10N and SMC8041 (although I'm not 100% sure the latter isimp2003-04-101-1/+2
| | | | | | needed). Remove duplicate kingston kne2 entry. Info obtained from NetBSD
* reorganize the supported card table. We don't need the enet_vendor orimp2003-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.
* Don't set the description if NULL.imp2003-04-101-1/+2
|
* Fix ed compilation with PAE by using %jx instead of %x.cognet2003-04-051-4/+4
|
* Add NE2000DVF_AX88190 flag to Corega FEther PCC-TXDsanpei2003-04-041-1/+1
| | | | (see also /etc/defaults/pccard.conf rev.1.172)
* - Add vm_paddr_t, a physical address type. This is required for systemsjake2003-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)
* Fix printf format error.nyan2003-02-241-6/+6
|
* Back out M_* changes, per decision of the TRB.imp2003-02-191-2/+2
| | | | Approved by: trb
* 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.
OpenPOWER on IntegriCloud