summaryrefslogtreecommitdiffstats
path: root/sys/dev/cm
Commit message (Collapse)AuthorAgeFilesLines
* Since if_cm doesn't contain locking or run with INTR_MPSAFE, markrwatson2004-08-131-1/+1
| | | | the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
* Convert callers to the new bus_alloc_resource_any(9) API.njl2004-03-171-2/+1
| | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
* Replace the if_name and if_unit members of struct ifnet with new membersbrooks2003-10-313-15/+14
| | | | | | | | | | | | | 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-21/+19
| | | | | | | 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.
* Use __FBSDID().obrien2003-08-242-2/+6
| | | | Also some minor style cleanups.
* - Express hard dependencies on bus (pci, isa, pccard) andmdodd2003-04-151-1/+2
| | | | | | | | 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.)
* Back out M_* changes, per decision of the TRB.imp2003-02-191-2/+2
| | | | Approved by: trb
* - bpf is now working (tested with tcpdump)fjoe2003-01-301-16/+0
| | | | | | - fix promiscious mode MFC after: 3 days
* - add support for IPX (tested with mount -t nwfs and mars_nwe),fjoe2003-01-241-7/+8
| | | | | | | | | | | IP fast forwarding, SIOCGIFADDR, setting hardware address (not currently enabled in cm driver), multicasts (experimental) - add ARC_MAX_DATA, use IF_HANDOFF, remove arc_sprintf() and some unused variables - if_simloop logic is made more similar to ethernet - drop not ours packets early (if we are not in promiscous mode) Submitted by: mark tinguely (partially)
* 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.
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-301-1/+1
| | | | Add FreeBSD Id tag where missing.
* network interface driver changes:sam2002-11-141-2/+1
| | | | | | | | | | | | | | 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
* Use if_printf(ifp, "blah") instead ofbrooks2002-10-011-32/+29
| | | | printf("%s%d: blah", ifp->if_name, ifp->if_unit);
* Remove __P.alfred2002-03-203-18/+18
|
* - generic Arcnet frameworkfjoe2002-01-084-0/+1400
- device driver for SMC COM90cx6 Arcnet network adapters Obtained from: NetBSD
OpenPOWER on IntegriCloud