Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
NULL'ness of the pointer to the actual page data. Fixes a NULL deref
when trying to set caching on my ASUS eeePC 1000HE's SD slot.
ok dlg@
|
|
sure buf's are correctly completed.
Feedback from Matthew Dempsky.
ok dlg@
|
|
not supported.
this prevents a panic caused by recursively entering the ioctl handler that
now happens on boot when sd tries to enable write cache on all disks.
found by ckeuthe@
tested by todd@
|
|
proper
initialization, old ones still work with DEV_UMASS5 as well. This enables a
whole bunch of newer huawei devices to work.
Also reported on misc@ by David Zeillinger.
discussed with jsg@ and mpf@
ok mpf@
|
|
requested by deraadt@
ok krw@ marco@
|
|
rather than as a scan of all attached devices after scsibus is attached.
this will allow the cache enabling on virtual disks to run as part of the
disks attach routine.
|
|
ioctl requests, and dont pass the proc pointers around for any ioctl
requests in scsi land at all. neither were used, so trim the fat.
ok krw@ marco@
|
|
what is not supported as a group cipher, enumerate what is supported.
|
|
otherwise we will panic in ieee80211_add_rsn_body().
this may be the cause of a panic seen by reyk@ though i'm not 100% sure.
|
|
the ioctl. also remove an uneeded if (devname) check.
ok jsing@
|
|
ok jsg@
|
|
|
|
ok jsg@
|
|
fix up prototypes etc.
ok oga@
|
|
replaced by BUFQ's.
OK krw@, dlg@
|
|
ok oga@
|
|
ok damien@
|
|
in the great re-write. If the scsi device *_interpret_sense()
function returns 0 that means there was no error.
Fixes restore(8) problems seen on certain tape drives.
Found and fix tested by Percey Piper. Suggestions from Matthew
Dempsky. Thanks!
ok dlg@
|
|
does not have to deal with it as a common. Some platforms may be missed
by this commit... if you spot one, fix it the same way.
ok miod
|
|
|
|
uvm.pagedaemon_proc, do the wakeup on the
right ident.
this had been fixed, but the fix got backed
out during The Big Backout.
ok oga@
|
|
just remove it.
"vscsi is kinda perfect" "you should delete it" dlg@
|
|
and make the loop invartiants <= CRYPTO_ALGORITHM_MAX
Do this also for the CRK_ALGORITHM_MAX this also fixes
the a bug that caused us to skip CRK_DH_COMPUTE_KEY.
ok deraadt@
|
|
POSIX_BASE_YEAR (1970) because the clock's base year is before that year as
well (as found on sparc which use 1968 as their base year); this allows
clocks with dead batteries to ``correctly'' report the current date as in year
1968, instead of year 2068 which causes a 32 bit time_t wraparound in year
1931.
Found the hard way by Philippe Meunier, ok deraadt@
|
|
md files for ports which do not use dev/cninit.c. This gets rid of a common
at kernel link time.
feedback drahn@ ok deraadt@
|
|
ok deraadt@
|
|
mounted by specifying a disklabel UID followed by a dot and a partition.
For example:
mount -t ffs 0123456789abcdef.a /mnt
ok otto@
|
|
by a pop operation we need to forward the packet to the specified nexthop
as is. This is done by calling the interface output routine directly.
This is different to the local operation since that one injects the packets
into ip_input() via netisr.
OK michele
|
|
uvm_pdaemon.h has it was only holding that one prototype.
OK art@, oga@, miod@, deraadt@
|
|
ok jasper@ (also compile tested)
|
|
specified via its disklabel UID. The mapping from the disklabel UID to the
real disk and the opening of the resulting device is performed atomically
using a single ioctl.
ok krw@ deraadt@
|
|
|
|
free the softc before we return. While here, make the allocation
code a bit prettier too.
OK deraadt@
|
|
- rework auich_halt_pipe() and use it to ensure AUICH_RR is
set only after DMA is halted (spec says to do so)
- rework auich_calibrate(): clear interrupt and event bits in
AUICH_STS and ensure CIV counter is not changed.
- in the interrupt handler, set LVI to (qptr - 1) rather than
the max value (bug introduced by previous commit)
All fixes are from Christopher Zimmermann <madroach at zakweb.de>,
Thanks!
tested on two different intel-based auich devices,
ok jakemsr
|
|
|
|
breaks at least socppc and armish
|
|
28 bit address bus) by reusing the regular sun4 configuration stanzas (with
the upper four bits set in the device addresses), and clearing them when
searching for a PROM mapping.
This makes the obio autoconf code simpler, and all knowledge of the 4/110
specifics is now contained in a single file (dev/obio.c).
ok todd@ deraadt@
|
|
also gets a bit of a KNF scrubbing at claudio@'s insistence. Shaves some
bytes from the kernel as well.
tested by phessler@ and zinovnik@, thanks
ok claudio@
|
|
bogus) `cache enabled' line in dmesg on 4/110.
ok todd@ deraadt@
|
|
|
|
|
|
|
|
instead of copying the 802.11 header on the stack and building
the ethernet header directly in the mbuf, build the ethernet
header on the stack directly from the 802.11 header in the
mbuf and copy the ethernet header to the mbuf after stripping
the 802.11 header.
makes the code easier to read/understand, especially, it is
now explicit what is being put in the ether_type field.
diff from Matthew Dempsky (matthew at dempsky dot org)
moved ieee80211_align_mbuf() under #ifdef __STRICT_ALIGNMENT
while i'm here.
|
|
share the driver with different GPIOs/IRQs Diff from marex via jasper.
|
|
netboot methods using rarp, thus only learning their IP address without
mask. And of course the next step is a broadcast - which goes to the
broadcast address calculated classful. *sigh*. PR6382
instead of storing a second broadcast address per ifaddr as we used to
figure out wether we're dealing with a classful broadcast on the fly. the
math is extremely cheap and all my previous profilings showed that cpu
cycles are basically free, we're constrained by memory access.
excellent analysis by Pascal Lalonde <plalonde at overnet.qc.ca> who also
submitted the PR. claudio ok
|
|
connect() calls. Our network stack does not allow any v4 mapped addresses
so there is no need to allow them in connect(). Found after discussion with
Henning. OK deraadt@
|