summaryrefslogtreecommitdiffstats
path: root/sys/dev/ed
Commit message (Collapse)AuthorAgeFilesLines
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-067-7/+7
|
* Commit ALTQ-patch for ed(4).mlaier2004-11-211-2/+4
| | | | | Requested and tested by: pav MFC after: 1 week
* Fix build error with ED_DEBUG.nyan2004-11-102-3/+3
| | | | PR: kern/72753
* Rumor has it that ACCTON EN2216 is also an ne2000 compatible. Make it so.imp2004-10-201-0/+1
|
* Remove layer intermixing. Device driver should pass the frame shouldglebius2004-09-061-20/+2
| | | | | | | | pass frame to ether_input(), and do not play with bridge itself. Reviewed by: sam, andre Approved by: julian (mentor) MFC after: 1 week
* Since if_ed doesn't contain locking or run with INTR_MPSAFE, markrwatson2004-08-131-2/+2
| | | | the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
* It is a little better to return ENXIO from probe/match routine than EIO.imp2004-07-211-1/+1
|
* A couple more style(9) nits I should have included in last commitimp2004-06-181-4/+3
|
* Style nits in the prototypesimp2004-06-181-2/+2
|
* Replace handrolled CRC calculation with ether_crc32_[lb]e().naddy2004-06-091-28/+2
|
* Fix disordering of pccarddevs.h noticed by bde. Also remove a fewimp2004-05-271-1/+3
| | | | | | redundant includes and fix some of the include disordering. Submitted by: bde
* Move to generating pccarddevs.h on the fly, both for the kernel andimp2004-05-261-1/+1
| | | | | | | the modules. Also generate usbdevs.h automatically now, but a non-kernel file is stopping that at the moment.
* We don't need to initialize if_output, ether_ifattach() does itmux2004-05-231-1/+0
| | | | for us.
* It turns out that the module dependency on pccard is in error. Sinceimp2004-05-081-1/+0
| | | | | | | | | | | | there's not dependencies on pccard symboles, such a dependency is not necessary. This means that drivers that have multiple attachments can not drag bogus devices into the kernel at load time. We can't (yet) do this with pci and isa. Drivers written for them actually do seem to have symbols that depend on these busses' implementation code. ndis not touched until other things can be tested.
* Fix building on L64 machines.obrien2004-04-161-7/+7
|
* Remove improper use of if_addrhead in device drivers to checkluigi2004-04-151-4/+0
| | | | | | | | | | | | if the link-level address has been initialized already. The majority of modern drivers never does this and works fine, which makes me think that the check is totally unnecessary and a residue of cut&paste from other drivers. This change is done to simplify locking because now almost none of the drivers uses this field. The exceptions are "ct" "ctau" and "cx" where i am not sure if i can remove that part.
* Convert callers to the new bus_alloc_resource_any(9) API.njl2004-03-171-2/+2
| | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
* Announce ethernet MAC addresss in ether_ifattach().mdodd2004-03-141-5/+0
|
* Adjust ed(4) for 64-bit platforms should it get newbus'ified.obrien2004-03-032-11/+12
|
* 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
OpenPOWER on IntegriCloud