| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Approved by: re (blanket)
Notes:
svn path=/head/; revision=171004
|
|
|
|
|
|
|
| |
Fix shutdown type to return int rather than void.
Notes:
svn path=/head/; revision=170935
|
|
|
|
|
|
|
| |
USB_DECLARE_DRIVER_INIT from the usb network drivers.
Notes:
svn path=/head/; revision=170892
|
|
|
|
| |
Notes:
svn path=/head/; revision=170886
|
|
|
|
|
|
|
| |
change, and MD5's appear to be the same.
Notes:
svn path=/head/; revision=170655
|
|
|
|
|
|
|
| |
usb_port.h. They aren't needed, and are a legacy of this code's past.
Notes:
svn path=/head/; revision=170612
|
|
|
|
|
|
|
| |
Elimiante cue_unit from softc.
Notes:
svn path=/head/; revision=170539
|
|
|
|
|
|
|
|
|
|
| |
need to do it at all anymore. Remove it from here. Expand
USB_ATTACH_SETUP inline now that it is one line and we're moving away
from the compat macros. Remove some bzero calls that turn out not be
be necessary.
Notes:
svn path=/head/; revision=170449
|
|
|
|
|
|
|
|
|
|
| |
quite a bit easier to read.
Approved by: rwatson (mentor)
MFC after: 1 weeks
Notes:
svn path=/head/; revision=169489
|
|
|
|
|
|
|
|
|
| |
md5 still the same.
"Dave, stop. I feel my mind slipping away." -- hal
Notes:
svn path=/head/; revision=162097
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
s/device_ptr_t/device_t/g
No md5 changes in the .o's
# Note to the md5 tracking club: $FreeBSD$ changes md5 after every commit
# so you need to checkout -kk to get $FreeBSD$ instead of the actual value
# of the keyword.
Notes:
svn path=/head/; revision=162095
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rather than in ifindex_table[]; all (except one) accesses are
through ifp anyway. IF_LLADDR() works faster, and all (except
one) ifaddr_byindex() users were converted to use ifp->if_addr.
- Stop storing a (pointer to) Ethernet address in "struct arpcom",
and drop the IFP2ENADDR() macro; all users have been converted
to use IF_LLADDR() instead.
Notes:
svn path=/head/; revision=152315
|
|
|
|
|
|
|
|
| |
Add missing if_free() when mii_phy_probe() fails.
Put if_free() into the correct #ifdef in detach().
Notes:
svn path=/head/; revision=150211
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
IFF_DRV_RUNNING, as well as the move from ifnet.if_flags to
ifnet.if_drv_flags. Device drivers are now responsible for
synchronizing access to these flags, as they are in if_drv_flags. This
helps prevent races between the network stack and device driver in
maintaining the interface flags field.
Many __FreeBSD__ and __FreeBSD_version checks maintained and continued;
some less so.
Reviewed by: pjd, bz
MFC after: 7 days
Notes:
svn path=/head/; revision=148887
|
|
|
|
|
|
|
|
|
|
|
| |
over iteration of their multicast address lists when synchronizing the
hardware address filter with the network stack-maintained list.
Problem reported by: Ed Maste (emaste at phaedrus dot sandvine dot ca>
MFC after: 1 week
Notes:
svn path=/head/; revision=148654
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
struct ifnet or the layer 2 common structure it was embedded in have
been replaced with a struct ifnet pointer to be filled by a call to the
new function, if_alloc(). The layer 2 common structure is also allocated
via if_alloc() based on the interface type. It is hung off the new
struct ifnet member, if_l2com.
This change removes the size of these structures from the kernel ABI and
will allow us to better manage them as interfaces come and go.
Other changes of note:
- Struct arpcom is no longer referenced in normal interface code.
Instead the Ethernet address is accessed via the IFP2ENADDR() macro.
To enforce this ac_enaddr has been renamed to _ac_enaddr.
- The second argument to ether_ifattach is now always the mac address
from driver private storage rather than sometimes being ac_enaddr.
Reviewed by: sobomax, sam
Notes:
svn path=/head/; revision=147256
|
|
|
|
| |
Notes:
svn path=/head/; revision=144106
|
|
|
|
| |
Notes:
svn path=/head/; revision=144104
|
|
|
|
|
|
|
| |
location.
Notes:
svn path=/head/; revision=144086
|
|
|
|
| |
Notes:
svn path=/head/; revision=139749
|
|
|
|
|
|
|
|
|
|
|
|
| |
if_start routines cannot currently be entered without Giant. When
the kernel is running with debug.mpsafenet != 0, this will defer
if_start execution to a task queue thread holding Giant, which may
introduce additional latency, but avoid incorrect execution.
Suggested by: dfr
Notes:
svn path=/head/; revision=133466
|
|
|
|
| |
Notes:
svn path=/head/; revision=131187
|
|
|
|
| |
Notes:
svn path=/head/; revision=130270
|
|
|
|
| |
Notes:
svn path=/head/; revision=129879
|
|
|
|
|
|
|
| |
for us.
Notes:
svn path=/head/; revision=129616
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in all USB ethernet drivers. The qdat structure contains a pointer
to the interface's struct ifnet and is used to process incoming
packets, so simultaneous use of two similar devices caused crashes
and confusion.
The if_udav driver appeared in the tree since Daan's PR, so I made
similar changes to that driver too.
PR: kern/59290
Submitted by: Daan Vreeken <Danovitsch@Vitsch.net>
Notes:
svn path=/head/; revision=129607
|
|
|
|
| |
Notes:
svn path=/head/; revision=126966
|
|
|
|
|
|
|
| |
Requested by: bde,imp
Notes:
svn path=/head/; revision=123289
|
|
|
|
|
|
|
|
|
|
| |
#include <sys/cdefs.h>
__FBSDID(...);
Leave the one matching the other files in this directory.
Notes:
svn path=/head/; revision=122655
|
|
|
|
|
|
|
| |
Despam the u_->u change
Notes:
svn path=/head/; revision=122644
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
it.
Notes:
svn path=/head/; revision=121432
|
|
|
|
|
|
|
| |
Submitted by: luoqi
Notes:
svn path=/head/; revision=120765
|
|
|
|
|
|
|
| |
Also some minor style cleanups.
Notes:
svn path=/head/; revision=119418
|
|
|
|
|
|
|
| |
bus_dma addition.
Notes:
svn path=/head/; revision=117662
|
|
|
|
|
|
|
|
|
| |
This code reduces the number of trailing white space to be more in line
w/ NetBSD. I don't regenerate usbdevs, saving that for when it really
changes.
Notes:
svn path=/head/; revision=117213
|
|
|
|
|
|
|
| |
Found by: FlexeLint
Notes:
svn path=/head/; revision=115498
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Notes:
svn path=/head/; revision=113038
|
|
|
|
|
|
|
|
|
|
| |
extern 'etherbroadcastaddr'.
- Make 'etherbroadcastaddr' static.
Reviewed by: imp
Notes:
svn path=/head/; revision=112469
|
|
|
|
|
|
|
| |
Approved by: trb
Notes:
svn path=/head/; revision=111119
|
|
|
|
|
|
|
| |
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
Notes:
svn path=/head/; revision=109623
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Notes:
svn path=/head/; revision=94077
|
|
|
|
|
|
|
|
|
|
|
| |
if_cuereg.h (1.5), if_kue.c (1.11), if_kuereg.h (1.5)
date: 2000/03/02 12:37:51; author: augustss;
Use ratecheck() to limit error messages on disconnect.
Break out some common functionality.
Notes:
svn path=/head/; revision=94074
|
|
|
|
| |
Notes:
svn path=/head/; revision=93999
|
|
|
|
| |
Notes:
svn path=/head/; revision=93991
|
|
|
|
| |
Notes:
svn path=/head/; revision=93989
|
|
|
|
| |
Notes:
svn path=/head/; revision=93988
|