| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
| |
Reported by: tinderbox
Notes:
svn path=/head/; revision=128307
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if the link-level address has been initialized already.
The majority of modern drivers never does this and works fine, which
makes me think that the check is totally unnecessary and a residue
of cut&paste from other drivers.
This change is done to simplify locking because now almost none of the
drivers uses this field. The exceptions are "ct" "ctau" and "cx"
where i am not sure if i can remove that part.
Notes:
svn path=/head/; revision=128293
|
| |
|
|
|
|
|
|
| |
Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
Notes:
svn path=/head/; revision=127135
|
| |
|
|
| |
Notes:
svn path=/head/; revision=126966
|
| |
|
|
|
|
|
| |
Requested by: bde,imp
Notes:
svn path=/head/; revision=123289
|
| |
|
|
| |
Notes:
svn path=/head/; revision=122678
|
| |
|
|
|
|
|
| |
re-remove the _ in u_intXX_t
Notes:
svn path=/head/; revision=122642
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
crashes that had sn0 as the irq that's being serviced, when there was
no sn0 in the system. This seems to prevent them. Also, we want to
wait until after we've registered with the network layer before we
turn on the interrupt spigot to avoid races.
Notes:
svn path=/head/; revision=122427
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
my Megahertz XJ10BT.
Notes:
svn path=/head/; revision=121589
|
| |
|
|
|
|
|
|
| |
o kill register
o minor function name tweaks.
Notes:
svn path=/head/; revision=121553
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Make the pccard attachment work with NEWCARD
Start locking of the driver, but only the macros are defined right now
Tested on: Megahertz CC10BT/2
# (These cards are very popular on ebay these days, and run < $10 including
# shipping from some sellers).
Notes:
svn path=/head/; revision=121514
|
| |
|
|
|
|
|
| |
Also some minor style cleanups.
Notes:
svn path=/head/; revision=119419
|
| |
|
|
|
|
|
| |
MEGAHERTZ2 to DSPSI.
Notes:
svn path=/head/; revision=119227
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
description. This allows us to rely entirely on the CIS entries if
necessary...
Notes:
svn path=/head/; revision=113315
|
| |
|
|
|
|
|
|
|
| |
ifdefs scattered around the place - its dead Jim!
The SMB stuff had stolen AF_NS, make it official.
Notes:
svn path=/head/; revision=111926
|
| |
|
|
|
|
|
| |
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=104257
|
| |
|
|
|
|
|
|
| |
Noticed by: jhay
Forgotten about for two years by: imp
Notes:
svn path=/head/; revision=101531
|
| |
|
|
| |
Notes:
svn path=/head/; revision=100426
|
| |
|
|
| |
Notes:
svn path=/head/; revision=86394
|
| |
|
|
| |
Notes:
svn path=/head/; revision=86273
|
| |
|
|
| |
Notes:
svn path=/head/; revision=81122
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
fondling implementation details.
Created with: sed(1)
Reviewed by: md5(1)
Notes:
svn path=/head/; revision=71999
|
| |
|
|
|
|
|
| |
translate to all NULLs (as for all the ones in this commit).
Notes:
svn path=/head/; revision=71323
|
| |
|
|
|
|
|
|
|
|
| |
sn1 at port 0x240-0x24f irq 10 slot 0 on pccard0
sn1: SMC91C100FD UTP MAC address 00:a0:dc:22:26:8c
Submitted by: "KOMURO" <komujun@nifty.com>
Notes:
svn path=/head/; revision=71060
|
| |
|
|
|
|
|
|
| |
o write isa driver routines.
o factor detach routine in sn_detach.
Notes:
svn path=/head/; revision=69955
|
| |
|
|
| |
Notes:
svn path=/head/; revision=69151
|
| |
|
|
| |
Notes:
svn path=/head/; revision=67164
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
matching methods so that we can run the same driver on both NEWCARD
and OLDCARD. Also set the device description to the card that we
found, if any.
The sn driver should be ready when the NEWCARD catches up. There's a
config activation issue as well as a kernel thread issue to resolve
first.
Notes:
svn path=/head/; revision=66425
|
| |
|
|
| |
Notes:
svn path=/head/; revision=66136
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
possible to have different probe/attach semantics between the two
systems and yet still use the same driver for both.
Compatibility methods for OLDCARD drivers. We use these routines to make
it possible to call the OLDCARD driver's probe routine in the context that
it expects. For OLDCARD these are implemented as pass throughs to the
device_{probe,attach} routines. For NEWCARD they are implemented such
such that probe becomes strictly a matching routine and attach does both
the old probe and old attach.
compat devices should use the following:
/* Device interface */
DEVMETHOD(device_probe), pccard_compat_probe),
DEVMETHOD(device_attach), pccard_compat_attach),
/* Card interface */
DEVMETHOD(card_compat_match, foo_match), /* newly written */
DEVMETHOD(card_compat_probe, foo_probe), /* old probe */
DEVMETHOD(card_compat_attach, foo_attach), /* old attach */
This will allow a single driver binary image to be used for both
OLDCARD and NEWCARD.
Drivers wishing to not retain OLDCARD compatibility needn't do this.
ep driver minorly updated.
sn driver updated more than minorly. Add module dependencies to allow
module to load. Also change name to if_sn. Add some debugging code.
attempt to fix the cannot allocate memory problem I'd been seeing.
Minor formatting nits.
Notes:
svn path=/head/; revision=66058
|
| |
|
|
|
|
|
|
|
|
|
|
| |
ether_ifdetach().
The former consolidates the operations of if_attach(), ng_ether_attach(),
and bpfattach(). The latter consolidates the corresponding detach operations.
Reviewed by: julian, freebsd-net
Notes:
svn path=/head/; revision=63090
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of the individual drivers and into the common routine ether_input().
Also, remove the (incomplete) hack for matching ethernet headers
in the ip_fw code.
The good news: net result of 1016 lines removed, and this should make
bridging now work with *all* Ethernet drivers.
The bad news: it's nearly impossible to test every driver, especially
for bridging, and I was unable to get much testing help on the mailing
lists.
Reviewed by: freebsd-net
Notes:
svn path=/head/; revision=60536
|
| |
|
|
|
|
|
|
|
|
|
| |
so that we return failure when we've failed and succeed when we succeed.
Otherwise, users always get a sn device :-(.
PR: 18431
Submitted by: <sanpei@sanpei.org> MIHIRA Yoshiro-san
Notes:
svn path=/head/; revision=60173
|
| |
|
|
| |
Notes:
svn path=/head/; revision=59760
|
| |
|
|
|
|
|
| |
Remove ~60 unneeded #include <sys/malloc.h>
Notes:
svn path=/head/; revision=59391
|
| |
|
|
|
|
|
|
| |
caused this device to be disabled. It will no longer claim all
devices with PNPBIOS enabled.
Notes:
svn path=/head/; revision=59099
|
| |
|
|
| |
Notes:
svn path=/head/; revision=56397
|
| |
|
|
|
|
|
| |
Reviewed by: Warner Losh <imp@village.org>
Notes:
svn path=/head/; revision=56366
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
devices.
o Return ENXIO from sn_isa_probe
o Fix SN_DEBUG printf
o Use IFQ_MAXLEN rather than 8
I'll fix the isa probe when I get access to a real isa attachment
device to test against here in a few days.
Overly agressive snagging behavior noticed by: phk
Notes:
svn path=/head/; revision=55161
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support, kinda, for megaheartz xjack nic cards. This support
works well for one machine per ethernet segment because it hard codes
the MAC address. The pccardd in -current doesn't have support to
parse the ethernet address from the CIS in the funky way that the
megaheartz card does things (it includes it in the info tuple, as
ascii, which is non-standard). I'd rather kludge this for the moment
and work to read the CIS from the kernel rather than mess with
pccardd.
The isa attachment is untested. The pccard attachment is known to
work since I'm committing over it.
Card Obtained from: Chris D. Faulhaber <jedger@fxp.org>
Notes:
svn path=/head/; revision=54994
|
| |
|
|
| |
Notes:
svn path=/head/; revision=54881
|
| |
|
|
|
|
|
| |
GENERIC-broken-by: imp
Notes:
svn path=/head/; revision=54786
|