| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Found by: src/tools/tools/kernxref
|
| |
|
| |
|
|
|
|
| |
also don't use ANSI string concatenation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Pro and Raylink cards with version 5 firmware. Only infra-structure
mode has been tested. Specific changes for this feature are:
o Add RFC1042 encapsulation of IP datagrams
o Add authentication and association
o Decode of the beacon (although not used)
Other changes have been made:
o Pass command completion status to *_done (in place for
adding proper error recovery)
o Move a couple of state variables into the current
network parameters structure. This is in prep. for
dealing with roaming.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
| |
Reduce the verbose memory map setup reports and work with pccardd to
set the common memory map up.
Use enumeration values for CARD_SET_RES_FLAGS.
Use DELAY when spinning waiting for the card to come free instead of a loop.
MFC: after 1 week
|
|
|
|
|
| |
Setup attribute memory resource in ray_probe so that it is added to
the print out of the resource list on card insertion.
|
|
|
|
|
|
|
|
|
|
|
|
| |
active memory maps. This removes the need to change the memory
map from common to attribute every time a packet is sent/received.
This increases performance and decreases cpu load (ping times on
slow machines improve by about 1.5ms).
Move out the old common memory/attrbiute memory hack functions to a
new header file to tidy up the main code. I want to keep them available
for a while.
|
|
|
|
|
|
|
|
|
|
| |
The prior version in the tree was repo-copied from Duncan Barclay's
cvs tree.
Also add $FreeBSD$
Submitted by: Duncan Barclay
Committed-via: raylan link with two webgear cards.
|
| |
|
|
|
|
|
|
| |
with IFF_DEBUG (recommended at present).
Move promisc flag into the nw parameter structure.
|
|
|
|
| |
runq queue, safely checking for ENXIO
|
|
|
|
| |
can request that runq routines should check IFF_RUNNING before executing.
|
| |
|
|
|
|
| |
unsed ioctl locking
|
| |
|
|
|
|
| |
Use device_printf.
|
|
|
|
|
|
|
|
| |
A few more () in macros
Make attribute memory access use a macro and ripple through.
Drop FIXUP as we always need it
|
|
be more like sys/dev coding.
|