| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Approved by: re (blanket wireless)
Notes:
svn path=/head/; revision=172057
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bus_setup_intr()
o add an int return code to all fast handlers
o retire INTR_FAST/IH_FAST
For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current
Reviewed by: many
Approved by: re@
Notes:
svn path=/head/; revision=166901
|
|
|
|
| |
Notes:
svn path=/head/; revision=163497
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Notes:
svn path=/head/; revision=150460
|
|
|
|
|
|
|
|
|
|
| |
could get an interrupt after we free the ifp, and the interrupt
handler depended on the ifp being still alive, this could, in theory,
cause a crash. Eliminate this possibility by moving the if_free to
after the bus_teardown_intr() call.
Notes:
svn path=/head/; revision=150306
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Found by: src/tools/tools/kernxref
Notes:
svn path=/head/; revision=141616
|
|
|
|
|
|
|
|
|
|
| |
practice (which we seem to mostly follow in the tree). Move the
$FreeBSD$ tag to its more proper place after all copyright and license
notices. Add '-' to the copyright notice for Christian E. Hopps so my
copyright script picks it up.
Notes:
svn path=/head/; revision=141419
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
resulting in a size_t due to C's rules of arithmetic. Rather than
bogusly cast the result to a uint8_t, fix the printf format specifier
to have a 'z' modifier which tells the compiler that the sizes really
do match.
It turns out that change 1.75 was incorrect to assume that this
'really' was a 8bit quantity. It isn't. Although the hardware
appears to limit things to < 256, it would be a bug that should be
caught by debug printf it it were. Casting it to uint8_t would have
lost this useful information.
Aslo add 'z' to a nearby debug statement that's never compiled in.
Notes:
svn path=/head/; revision=141416
|
|
|
|
|
|
|
| |
Cast a byte to uint8_t before printing.
Notes:
svn path=/head/; revision=140885
|
|
|
|
| |
Notes:
svn path=/head/; revision=139749
|
|
|
|
| |
Notes:
svn path=/head/; revision=138572
|
|
|
|
|
|
|
| |
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
Notes:
svn path=/head/; revision=133696
|
|
|
|
| |
Notes:
svn path=/head/; revision=129879
|
|
|
|
|
|
|
| |
for us.
Notes:
svn path=/head/; revision=129616
|
|
|
|
|
|
|
|
| |
Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
Notes:
svn path=/head/; revision=127135
|
|
|
|
| |
Notes:
svn path=/head/; revision=123816
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Also some minor style cleanups.
Notes:
svn path=/head/; revision=119418
|
|
|
|
| |
Notes:
svn path=/head/; revision=116995
|
|
|
|
| |
Notes:
svn path=/head/; revision=116951
|
|
|
|
|
|
|
|
|
|
| |
Change all in-tree consumers to include <sys/limits.h>
Discussed on: standards@
Partially submitted by: Craig Rodrigues <rodrigc@attbi.com>
Notes:
svn path=/head/; revision=114216
|
|
|
|
|
|
|
| |
of parameters written to the card.
Notes:
svn path=/head/; revision=111916
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
especially in troff files.
Notes:
svn path=/head/; revision=108533
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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=103842
|
|
|
|
|
|
|
|
| |
There's no need to use concatination when you have 'something.macro_arg'.
Comment out comment following #endif.
Notes:
svn path=/head/; revision=97717
|
|
|
|
|
|
|
| |
also don't use ANSI string concatenation.
Notes:
svn path=/head/; revision=87599
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=76767
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=76390
|
|
|
|
|
|
|
|
| |
Setup attribute memory resource in ray_probe so that it is added to
the print out of the resource list on card insertion.
Notes:
svn path=/head/; revision=76330
|
|
|
|
| |
Notes:
svn path=/head/; revision=73535
|
|
|
|
|
|
|
|
|
| |
backwards in the three drivers which want to do that.
Reviewed by: mikeh
Notes:
svn path=/head/; revision=72084
|
|
|
|
|
|
|
|
| |
Created with: sed(1)
Reviewed by: md5(1)
Notes:
svn path=/head/; revision=72012
|
|
|
|
|
|
|
|
|
|
| |
<sys/queue.h> implementation details.
Created with: /usr/sbin/sed
Reviewed with: /sbin/md5
Notes:
svn path=/head/; revision=71962
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=71170
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Fix OLDCARD to use the new interface.
o Rename the offsetp argument to deltap to more closely reflect what it
is returning (it returns the delta from the requested value to the actual
value).
o Remove duplicate $FreeBSD$ in pccbb.c
o Allow deltap to be NULL.
o Convert new isa pcic driver and add XXX comments that this function isn't
actually implemented there (which means that NEWCARD pccard stuff won't
work there until it is).
o Revert attempts to make old inferface work in NEWCARD.
Subitted by: peter (Parts of the new version code)
Notes:
svn path=/head/; revision=70748
|
|
|
|
| |
Notes:
svn path=/head/; revision=70604
|
|
|
|
|
|
|
|
|
|
|
|
| |
since ether_ifattach() does it for us. We do need to call ether_ifdetach()
instead of if_detach(). And we don't have to check for ifp->if_name
already being initialized because it never will be in FreeBSD 4.x and
above.
Reviewed by: Warner Losh, Duncan Barclay
Notes:
svn path=/head/; revision=69780
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=68646
|
|
|
|
| |
Notes:
svn path=/head/; revision=62974
|
|
|
|
|
|
|
| |
Work around pccard nasties.
Notes:
svn path=/head/; revision=62784
|
|
|
|
| |
Notes:
svn path=/head/; revision=61918
|
|
|
|
|
|
|
|
|
|
|
| |
Renamed varible dst in ray_rx to mp as it is a pointer to an mbuf.
Correctly grok addresses in data packets.
Promte a couple of RECERRs to real errors.
Notes:
svn path=/head/; revision=61882
|
|
|
|
| |
Notes:
svn path=/head/; revision=61811
|