aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/my
Commit message (Collapse)AuthorAgeFilesLines
...
* We don't need to initialize if_output, ether_ifattach() does itMaxime Henrion2004-05-231-1/+0
| | | | | | | for us. Notes: svn path=/head/; revision=129616
* Convert callers to the new bus_alloc_resource_any(9) API.Nate Lawson2004-03-171-4/+3
| | | | | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde Notes: svn path=/head/; revision=127135
* Announce ethernet MAC addresss in ether_ifattach().Matthew N. Dodd2004-03-141-5/+0
| | | | Notes: svn path=/head/; revision=126966
* Don't use caddr_t in mchash(). Also use C99 spellings over BSD ones.David E. O'Brien2003-12-081-6/+6
| | | | | | | Requested by: bde,imp Notes: svn path=/head/; revision=123289
* Drop the driver lock around calls to if_input to avoid a LOR whenSam Leffler2003-11-141-0/+2
| | | | | | | | | | | the packets are immediately returned for sending (e.g. when bridging or packet forwarding). There are more efficient ways to do this but for now use the least intrusive approach. Reviewed by: imp, rwatson Notes: svn path=/head/; revision=122689
* Try to create some sort of consistency in how the routings to find theDavid E. O'Brien2003-11-131-11/+9
| | | | | | | | | | 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-311-2/+1
| | | | | | | | | | | | | | | | 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
* Use __FBSDID().David E. O'Brien2003-08-241-6/+3
| | | | | | | 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-3/+3
| | | | | | | | 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=119285
* - Express hard dependencies on bus (pci, isa, pccard) andMatthew N. Dodd2003-04-151-1/+3
| | | | | | | | | | | 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
* Use __FBSDID rather than rcsid[].David E. O'Brien2003-04-031-2/+4
| | | | Notes: svn path=/head/; revision=113038
* Back out M_* changes, per decision of the TRB.Warner Losh2003-02-191-4/+4
| | | | | | | Approved by: trb Notes: svn path=/head/; revision=111119
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.Alfred Perlstein2003-01-211-4/+4
| | | | | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT. Notes: svn path=/head/; revision=109623
* network interface driver changes:Sam Leffler2002-11-141-14/+6
| | | | | | | | | | | | | | | | | 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
* Fix instances of macros with improperly parenthasized arguments.Alfred Perlstein2002-11-091-2/+2
| | | | | | | Verified by: md5 Notes: svn path=/head/; revision=106696
* Cast a pointer to a uintptr_t instead of a u_int.John Baldwin2002-11-071-1/+1
| | | | Notes: svn path=/head/; revision=106588
* Add missing unlockJulian Elischer2002-05-301-1/+3
| | | | | | | Submitted by: dirkx@covalent.net Notes: svn path=/head/; revision=97641
* Add missing UNLOCKsJulian Elischer2002-05-021-1/+9
| | | | | | | Submitted by: dirkx@covalent.net Notes: svn path=/head/; revision=95939
* Need more includes.Julian Elischer2002-04-301-0/+2
| | | | Notes: svn path=/head/; revision=95807
* Add the extra argument to mtx_init()Julian Elischer2002-04-301-1/+2
| | | | Notes: svn path=/head/; revision=95803
* Follow NetBSD and s/IFM_1000_TX/IFM_1000_T/Poul-Henning Kamp2002-04-281-9/+9
| | | | Notes: svn path=/head/; revision=95673
* diff reductionJulian Elischer2002-04-171-9/+0
| | | | Notes: svn path=/head/; revision=94905
* Slight diff-reduction to -stable.Julian Elischer2002-04-171-5/+5
| | | | Notes: svn path=/head/; revision=94904
* Diff reduction to 4.x version.Julian Elischer2002-04-161-44/+41
| | | | Notes: svn path=/head/; revision=94863
* Add the driver for "myson" ethernet cards.Julian Elischer2002-04-042-0/+2467
This driver was written by Myson and is made available by their courtesy. The 5.x version is not fully tested (I will be testing) but the 4.x version has been tested by many. I will commit it soon. Myson have their own chip design based on the DEC 214xx family but with several differences. Myson sells this chip to several EOMs in teh Chinese area so there may be many noname brand cards that respond to this driver. Myson will be supplying a list of some of these. Notes: svn path=/head/; revision=93746