Age | Commit message (Collapse) | Author |
|
from the individual drivers now that ether_ioctl() handles this.
Shrinks the i386 kernels by..
RAMDISK - 2176 bytes
RAMDISKB - 1504 bytes
RAMDISKC - 736 bytes
Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users.
Build tested on almost all archs by todd@/brad@
ok naddy@
|
|
to transmit full sized VLAN tagged frames.
|
|
which has been there since rev 1.1.
Spotted by Johann Christian Rode <jcrode@gmx.net>
|
|
Move calling ether_ioctl() from the top of the ioctl function, which
at the moment does absolutely nothing, to the default switch case.
Thus allowing drivers to define their own ioctl handlers and then
falling back on ether_ioctl(). The only functional change this results
in at the moment is having all Ethernet drivers returning the proper
errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown
ioctl's.
Shrinks the i386 kernels by..
RAMDISK - 1024 bytes
RAMDISKB - 1120 bytes
RAMDISKC - 832 bytes
Tested by martin@/jsing@/todd@/brad@
Build tested on almost all archs by todd@/brad@
ok jsing@
|
|
ok jsg@
|
|
Really just the low-hanging fruit of (hopefully) forthcoming timeout
conversions.
ok art@, krw@
|
|
|
|
ok jsg@
|
|
Work around the "latch in at the first working PHY address hack",
that fails for this adapter because it returns 0xffff when reading
from lower PHY addresses. Also add more debugging printfs.
Testing and OK jsg@
|
|
* Fossil Abacus Wrist PDA
Thorsten Trampisch in FreeBSD PR 113384
* Expert ISDN Control
* RS232 OptoBridge
Jonathan Charest in FreeBSD PR 110992
* Several Tactrix OpenPort (ECU) devices.
Y.Okabe in FreeBSD PR 119981
* Logitec LAN-GTJ/U2 Ethernet
HAGIMORI 'buggy' Masashige in FreeBSD PR 115933
* RATOC REX-USB60F serial
|
|
Instead of calling timeout_set(..., NULL, NULL) in attach routines and
later
timeout_del(...)
timeout_set(..., func, arg)
timeout_add(..., time)
set the function and argument in the initial timeout_set() call and only
use timeout_add(..., time) later.
ok dlg, fgsch, krw, winiger
|
|
|
|
so that it shows up before the :. as a result, all the usb devices do not
need to have name printing code anymore. all this now works and prints
nicely because usbd_probe_and_attach() is serialized. ok kettenis
|
|
USB_DECLARE_DRIVER macros.
No binary change.
ok dlg.
|
|
as ether_input_mbuf which is itself a macro for ether_input.
No binary change.
ok dlg.
|
|
No binary change.
ok mk.
|
|
only a cast to (void *).
ok jsg.
|
|
(This might look easy, but it was a big diff. Thanks to dlg and especially jsg
for looking over it; we found at least four mistakes in the initial diff.)
ok jsg.
|
|
and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev.
No binary changes.
ok jsg.
|
|
were used as a layer of confusion^Wabstraction around the timeout(9) API.
No binary change.
ok jsg.
|
|
thus produced no code at all.
No binary change.
ok jsg.
|
|
and it was not consistently used. It was confusing as it suggested these
functions were static, which they were not.
discussed with dlg and jsg, ok jsg.
|
|
ok deraadt@ krw@ mbalmer@
|
|
|
|
|
|
Initial diff from krw@, uneeded lock_mii()/unlock_mii() on all commands
in existing code removed by me so it doesn't try to recurse.
ok krw@
|
|
|
|
this should prevent phantom devices from attaching axe or uberry on
some machines.
ok deraadt@
|
|
|
|
pulling packets out of the usb buffer in rxeof.
Potential issue pointed out by Hans Petter Selasky <hselasky@c2i.net>
|
|
Pointed out by Hans Petter Selasky <hselasky@c2i.net>
|
|
|
|
|
|
Thanks to Marco S Hyman for sending me hardware to play with.
Committed over DUB-E100 rev B1 with external IC Plus PHY.
|
|
- remove IFF_RUNNING check from axe_init() and check for the
appropriate condition before calling axe_init().
- check for MTU too small, as done everywhere else.
- remove unnecessary setting of error to 0, its initialized to 0 in
axe_ioctl().
- use the IFQ_IS_EMPTY macro in axe_watchdog().
ok brad@
|
|
"works fine, even under high load" reyk@
|
|
use IFQ_POLL()/IFQ_DEQUEUE() logic instead as described in altq(4).
tested by jolan@ on macppc
"diffs look ok" brad@
|
|
|
|
something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP;
this very popular bug has been cut and pasted a lot of times...
ok deraadt@ mickey@
|
|
|
|
|
|
|
|
Superfluous because the immediately following usb_callout() does the
same timeout_set(). And superfluous because the same usb_callout_init
was done during attach.
ok dlg@
|
|
ok dlg@
|
|
outbound), using a new BIOCSDIRFILT ioctl;
guidance, feedback and ok canacar@
|
|
ok deraadt@ brad@
|
|
an interrupt context.
From NetBSD
ok dlg@
|
|
|
|
so much, makes the Level One AX88178 adapter work.
Interestingly enough the Level One adapter seems to work fine
without stalls. Though it uses ukphy, I think the correct phy
types are supposed to be written in by the driver based on the
values in the eeprom...
|
|
|