| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Verified by: md5
|
|
|
|
| |
that read(2) returns a ssize_t perhaps this is a bug in d_read_t?)
|
| |
|
|
|
|
|
| |
properly.
- Add a cast to quiet a printf warning.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
than just the first ppbus.
The child drivers always tried to attach unit 0.
Reviewed by: gallatin
Approved by: gallatin
|
|
|
|
|
|
|
|
| |
- VIA chipset SMBus controllers added
- alpm driver updated
- Support for dynamic modules added
- bktr FreeBSD smbus updated but not tested
- cleanup
|
|
|
|
|
| |
warning: deprecated use of label at end of compound statement
umass.c:2626:46: multi-line string literals are deprecated
|
|
|
|
|
|
|
| |
other initialization into attach from probe. Also hide a few
printfs behind a bootverbose.
approved in principle by: phk
|
|
|
|
| |
also don't use ANSI string concatenation.
|
|
|
|
|
|
| |
ppc to go into EPP mode. These 8 inputs are timestamped in polled
loop so their resolution will be nanoseconds but their granularity
will only be 1/hz.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.
Sorry john! (your next MFC will be a doosie!)
Reviewed by: peter@freebsd.org, dillon@freebsd.org
X-MFC after: ha ha ha ha
|
|
|
|
|
|
| |
overhead of abstraction layers.
Submitted by: jcm@FreeBSD-uk.eu.org
|
| |
|
|
|
|
|
| |
PR: 16551
Submitted by: Sascha Schumann <sascha@schumann.cx>
|
|
|
|
| |
Glanced at by: imp
|
|
|
|
| |
the bit-bucket.
|
|
|
|
|
|
| |
PS/2 mode for ZIP+ drives for a long time. Thanks Jonathon.
Submitted by: j mckitrick <jcm@FreeBSD-uk.eu.org>
|
|
|
|
|
|
|
| |
want according to the modes set with the ppc(4) flags. Especially, it
should fix some problems with mode detection of parallel chipsets
configured to EPP but which have timing troubles with the drives. In such
a case, the driver should now fall back to slower modes (PS2, NIBBLE).
|
|
|
|
|
| |
Submitted by: josh@zipperup.org
Submitted by: Robert Drehmel <robd@gmx.net>
|
| |
|
|
|
|
| |
Noticed long time ago by: bde
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
before adding/removing packets from the queue. Also, the if_obytes and
if_omcasts fields should only be manipulated under protection of the mutex.
IF_ENQUEUE, IF_PREPEND, and IF_DEQUEUE perform all necessary locking on
the queue. An IF_LOCK macro is provided, as well as the old (mutex-less)
versions of the macros in the form _IF_ENQUEUE, _IF_QFULL, for code which
needs them, but their use is discouraged.
Two new macros are introduced: IF_DRAIN() to drain a queue, and IF_HANDOFF,
which takes care of locking/enqueue, and also statistics updating/start
if necessary.
|
| |
|
|
|
|
|
| |
`char' is promoted to `int' when passed through `...'
(so you should pass `int' not `char' to `va_arg')
|
| |
|
|
|
|
|
| |
Submitted by: j mckitrick <jcm@freebsd-uk.eu.org>
Reviewed by: nsouchu
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
functions.
If it is defined, check whether bus_alloc_resource has succeeded. If it
hasn't, it is in polled mode. Mike Nowlin reports that this change makes
the geek port (whatever _that_ is :-) work again on his machine.
Submitted by: Mike Nowlin <mike@argos.org>
|
| |
|
|
|
|
| |
do fine in this case.
|
| |
|
|
|
|
|
|
|
|
| |
The makefile contains a reference to /sys/dev/ppbus. What really should
be done is copy the header files to /usr/include/sys/dev/ppbus.
PR: kern/16767
Submitted by: Jin Guojun (FTG staff) <jin@gracie.lbl.gov>
|
|
|
|
| |
Remove ~60 unneeded #include <sys/malloc.h>
|
|
|
|
|
| |
Due to some interesting cpp tricks in lockmgr, the LINT kernel shrinks
by 924 bytes.
|
|
|
|
|
|
|
|
|
|
| |
non-device code.
* Re-implement the method dispatch to improve efficiency. The new system
takes about 40ns for a method dispatch on a 300Mhz PII which is only
10ns slower than a direct function call on the same hardware.
This changes the new-bus ABI slightly so make sure you re-compile any
driver modules which you use.
|
| |
|
|
|
|
|
|
|
| |
connected during boot and the vpo module is in the kernel/loaded.
In the case where the module is loaded at some later stage with kldload,
the CAM bus is now rescanned as well.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make the public interface more systematically named.
Remove the alternate method, it doesn't do any good, only ruins performance.
Add counters to profile the usage of the 8 access functions.
Apply the beer-ware to my code.
The weird +/- counts are caused by two repocopies behind the scenes:
kern/kern_clock.c -> kern/kern_tc.c
sys/time.h -> sys/timetc.h
(thanks peter!)
|
|
|
|
|
| |
if one tries to use read() on an LP_BYPASS'd dev_t, the softc will be
initialized mainly with NULLs, so...
|
|
|
|
|
|
|
|
| |
author of the affected code.
PR: 16552
Submitted by: Sascha Schumann <sascha@schumann.cx>
Approved by: jkh
|
| |
|
|
|
|
|
|
| |
(also called the "printer fiasco")
Approved by: jkh
|
| |
|