Age | Commit message (Collapse) | Author |
|
second vc is created. However, it was allocated using the geometry of
the second vc to allocate backing store for the first. Be sure to use
the proper values in case geometries differ.
|
|
to stop is not called because the ioctl function is a masterpiece)
|
|
|
|
ok krw@
|
|
"do it" marco@
|
|
ok jakemsr@
|
|
bus_space_unmap(), not bus_space_free(). Fortunately this file is only
used on i386 where bus_space_free() simply invokes bus_space_unmap().
|
|
|
|
provided by Parfait
ok oga
|
|
in an array. Problem found and ok deraadt@.
|
|
unsigned, like all the other callers of aps_do_io in aps do.
|
|
|
|
|
|
|
|
calculation of ticks. Saves 26 bytes.
ok oga `fine' deraadt
|
|
schsio_attach() then later reads the chip id to print which device we
found.
I noticed that isa_attach_args has a field called ia_aux which can be
used for driver specific stuff, so stuff the device id in there so we
don't need to get the value from the chip again during attach.
|
|
bus_space_.. API uses that.
|
|
|
|
For the possibility of sleeping, the first two flags are UVM_PLA_WAITOK
and UVM_PLA_NOWAIT. It is an error not to show intention, so assert that
one of the two is provided. Switch over every caller in the tree to
using the appropriate flag.
ok art@, ariane@
|
|
|
|
between instances, saving space in the kernel. feedback from many (some
incorporated, some left for future work).
ok deraadt, kettenis, "why not" miod.
|
|
``just have the balls and commit it'' deraadt
|
|
as additional argument. This will allow intermediate layers between
scsi devices such as sd and scsi host adapters to take appropriate
action if necessary.
|
|
ok grange@, oga@, todd@
|
|
|
|
* .status should never stay at OK permanently
* use .flags more sparingly
ok mk
|
|
environment sensors. These are found at least on VIA Epia SN18000G
boards.
Not enabled at 0x162e and 0x164e because probing these may not be
safe according to kettenis (guess where my schsio is).
Much help from kettenis. Input from const and fgs.
ok kettenis
|
|
No functional changes.
ok krw@ miod@
|
|
thanks to Vit Skibinskiy <bucker(ik)skibinski.pp.ru>
|
|
conversions.
ok kettenis@
ok krw@ (possibly for the second time :)
|
|
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@
|
|
|
|
"looks sane to me" marco@
|
|
de-inlining i386 bus_space.
ok weingart@
|
|
|
|
used in gus.c and this change also makes gcc4 happy
extern const int gus_max_frequency[];
extern const ushort gus_log_volumes[];
extern struct audio_hw_if gusmax_hw_if;
ok deraadt@
|
|
values of the audio_params structure during AUDIO_SETINFO if the
hardware cannot be set to exactly the requested mode.
some drivers do this sometimes. others always return EINVAL if there
isn't an exact match.
be more consistent. only return EINVAL if an absurd parameter was
requested, otherwise return a supported set of parameters, as close
as possible to what was requested.
with/ok ratchov@
|
|
|
|
o always use 16-bit FAN counters for IT8716/8718/8726
o do not try to poll sensors disabled by BIOS
o sync VIN5 & VIN6 sensors description w/ ITE docs
tested by naddy@ weerd@
|
|
This should take care of the simpler ones (i.e., timeout values of
integer multiples of hz).
ok krw@, art@
|
|
|
|
|
|
Use minutes for 16-bit values.
|
|
o some #define's instead of digits
|
|
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@
|
|
commented out, remove it. Unifdef TFS while there.
ok marco@ krw@
|
|
Really just the low-hanging fruit of (hopefully) forthcoming timeout
conversions.
ok art@, krw@
|
|
from the hdaps linux driver, and update model detection. Now works on
newer thinkpad models. Suggestions from jsg@, tested by many.
|
|
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
|
RAW_PART will always be 0 -> disksize, so the bounds check will always
pass for i/o's to valid addresses. Now the i/o will be properly truncated
if it goes past the end of the device. This prevents various adverse
impacts of issuing i/o's for data past the end of the device.
Repeatedly requested by todd@.
ok weingart@ deraadt@
|