summaryrefslogtreecommitdiffstats
path: root/sys/dev/ray/if_rayvar.h
Commit message (Collapse)AuthorAgeFilesLines
* Stop embedding struct ifnet at the top of driver softcs. Instead thebrooks2005-06-101-3/+3
| | | | | | | | | | | | | | | | | | | | 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
* Make a bunch of malloc types static.phk2005-02-101-2/+0
| | | | Found by: src/tools/tools/kernxref
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-061-1/+1
|
* Update for net80211 changes.sam2004-12-081-0/+38
|
* Update to C99, s/__FUNCTION__/__func__/,obrien2001-12-101-4/+4
| | | | also don't use ANSI string concatenation.
* Primary purpose of this commit is to enable support for the Aviatordmlb2001-05-171-12/+48
| | | | | | | | | | | | | | | | | | | | | | 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
* Eliminate some panics for errors we can recover from.dmlb2001-05-091-1/+1
| | | | | | | | | | | 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
* Remove if_ray_oldcard.h because pccard support multiple windows now.dmlb2001-05-071-0/+4
| | | | | Setup attribute memory resource in ray_probe so that it is added to the print out of the resource list on card insertion.
* Take advantage of the fixes to the pcic code that allows multipledmlb2001-01-171-25/+0
| | | | | | | | | | | | 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.
* Changes necessary to make this work.imp2000-11-121-2/+2
| | | | | | | | | | 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.
* Add a desired network parameter structure to runq entries.dmlb2000-06-181-0/+2
|
* Generated a new macor, RAY_RECERR for reporting errors with. Verbosity set ↵dmlb2000-06-111-4/+11
| | | | | | with IFF_DEBUG (recommended at present). Move promisc flag into the nw parameter structure.
* Add macros for freeing a set of malloc runq entries and adding them to thedmlb2000-06-101-0/+22
| | | | runq queue, safely checking for ENXIO
* As part of the IFF_RUNNING stuff, we've added an extra flag so callersdmlb2000-06-041-3/+9
| | | | can request that runq routines should check IFF_RUNNING before executing.
* Remove unused ioctl lockingdmlb2000-05-281-5/+0
|
* Made RAY_COM_DUMP a real debug called RAY_DCOMdmlb2000-05-281-10/+11
| | | | unsed ioctl locking
* MFRELENG_3dmlb2000-05-211-18/+28
|
* Remove ISA/3.x stuff and add -current stuffdmlb2000-05-111-23/+25
| | | | Use device_printf.
* Move a couple fo things around to be nicer for -currentdmlb2000-05-101-43/+60
| | | | | | | | A few more () in macros Make attribute memory access use a macro and ripple through. Drop FIXUP as we always need it
* Split out structures to make it a bit easier to find my way around anddmlb2000-05-071-0/+248
be more like sys/dev coding.
OpenPOWER on IntegriCloud