| #
aeebcff2 |
| 07-Aug-2016 |
pgoyette <pgoyette@NetBSD.org> |
Create the kern.ccd sysctl sub-tree when built as a module. Even though the contents of the sub-tree are all structures, and thus not displayed via sysctl(8), the info is potentially useful to progr
Create the kern.ccd sysctl sub-tree when built as a module. Even though the contents of the sub-tree are all structures, and thus not displayed via sysctl(8), the info is potentially useful to programs. (For example, ccdconfig could use this to determine how many units are available.)
The sub-tree is already available when the module is included as built-in module.
show more ...
|
| #
8d10f962 |
| 08-Dec-2015 |
christos <christos@NetBSD.org> |
Replace DIOCGPART -> DIOCGPARTINFO which returns the data needed instead of pointers.
|
| #
e7ae23fd |
| 20-Aug-2015 |
christos <christos@NetBSD.org> |
include "ioconf.h" to get the 'void <driver>attach(int count);' prototype.
|
| #
216c99d8 |
| 21-Jul-2015 |
skrll <skrll@NetBSD.org> |
Trailing whitespace.
|
| #
ddeabcf2 |
| 18-Jun-2015 |
christos <christos@NetBSD.org> |
initialized sc_unit (from Riastradh) XXX: pullup-7
|
| #
c182898b |
| 02-Jan-2015 |
christos <christos@NetBSD.org> |
We have three sets of DTYPE_ constants in the kernel: altq Drop Type disklabel Disk Type file Descriptor Type (not to mention constants that contain the string DTYPE). Let's make them two, b
We have three sets of DTYPE_ constants in the kernel: altq Drop Type disklabel Disk Type file Descriptor Type (not to mention constants that contain the string DTYPE). Let's make them two, by changing the disklabel one to be DisK TYPE since the other disklabel constants seem to do that. Not many userland programs use these constants (and the ones that they do are mostly in ifdefs). They will be fixed shortly.
show more ...
|
| #
c60db2e9 |
| 31-Dec-2014 |
christos <christos@NetBSD.org> |
make more drivers use disk_ioctl, and add a dev parameter to it so that we can merge the "easy" disklabel ioctls to it. Ultimately all this will go do dk_ioctl once all the drivers have been converte
make more drivers use disk_ioctl, and add a dev parameter to it so that we can merge the "easy" disklabel ioctls to it. Ultimately all this will go do dk_ioctl once all the drivers have been converted.
show more ...
|
| #
3be6bb24 |
| 31-Dec-2014 |
christos <christos@NetBSD.org> |
Centralize wedge ioctls in disk_ioctl.
|
| #
37efed97 |
| 30-Dec-2014 |
christos <christos@NetBSD.org> |
destroy the pool and the mutex when detaching.
|
| #
ef781023 |
| 30-Dec-2014 |
christos <christos@NetBSD.org> |
- only create ccd's when we ask them to be created. - keep track of the number of active ccd's so that we don't modunload and crash - fix formatting. - don't attach 4, the argument is not used.
|
| #
c5ff2ab7 |
| 30-Dec-2014 |
mlelstv <mlelstv@NetBSD.org> |
Fix locking error. Clear EPASSTHROUGH return value from disk_ioctl. Add missing wedge ioctls.
|
| #
026ad668 |
| 30-Dec-2014 |
jnemeth <jnemeth@NetBSD.org> |
Slowly bring this thing kicking and screaming into the 21st century:
- use struct disk_geom - add wedge support
|
| #
75320acf |
| 30-Dec-2014 |
christos <christos@NetBSD.org> |
call disk_ioctl.
|
| #
49e3024a |
| 11-Oct-2014 |
mlelstv <mlelstv@NetBSD.org> |
No longer warn about differences bewteen disk size and total sector count in disklabel when the latter is just clamped to the maximum.
|
| #
53385cb9 |
| 11-Oct-2014 |
mlelstv <mlelstv@NetBSD.org> |
clamp total number of sectors to UINT32_MAX instead of providing the lower 32bit of the 64bit number.
|
| #
7d706cf7 |
| 16-Aug-2014 |
sborrill <sborrill@NetBSD.org> |
Switch size_t to uint64_t in appropriate places to ensure that ccd(4) works with component and total sizes of > 2TB. Add COMPAT_60 code for platforms where this alters userland-accessible structures.
Switch size_t to uint64_t in appropriate places to ensure that ccd(4) works with component and total sizes of > 2TB. Add COMPAT_60 code for platforms where this alters userland-accessible structures. Make kernel print device information when a ccd configured. Fix some typos in comments.
show more ...
|
| #
f9228f42 |
| 25-Jul-2014 |
dholland <dholland@NetBSD.org> |
Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
|
| #
8c70ef39 |
| 25-Jul-2014 |
dholland <dholland@NetBSD.org> |
Add d_discard to all struct bdevsw instances I could find.
I've set them all to nodiscard. Some of them (wd, dk, vnd, ld, raidframe, maybe cgd) should be implemented for real.
|
| #
292a0c7f |
| 14-Jun-2014 |
hannken <hannken@NetBSD.org> |
Change dk_lookup() to return an anonymous vnode not associated with any file system. Change all consumers of dk_lookup() to get the device from "v_rdev" instead of VOP_GETATTR() as specfs does not s
Change dk_lookup() to return an anonymous vnode not associated with any file system. Change all consumers of dk_lookup() to get the device from "v_rdev" instead of VOP_GETATTR() as specfs does not support VOP_GETATTR(). Devices obtained with dk_lookup() will no longer disappear on forced unmounts.
Fix for PR kern/48849 (root mirror raid fails on shutdown)
Welcome to 6.99.44
show more ...
|
| #
55252202 |
| 06-Apr-2014 |
joerg <joerg@NetBSD.org> |
Don't destroy locked mutex. Don't access freed memory.
|
| #
4f6fb3bf |
| 25-Feb-2014 |
pooka <pooka@NetBSD.org> |
Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before the sysctl link sets are processed, and remove redundancy.
Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicat
Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before the sysctl link sets are processed, and remove redundancy.
Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate lines of code.
show more ...
|
| #
8682ae0d |
| 28-Dec-2013 |
pgoyette <pgoyette@NetBSD.org> |
ccd module also needs dk_subr
|
| #
cd2a35a0 |
| 12-Sep-2013 |
martin <martin@NetBSD.org> |
#ifdef a few variable declarations/initializations to match their use
|
| #
b08b65c6 |
| 27-Apr-2013 |
christos <christos@NetBSD.org> |
- no limit on the number of ccd devices. - provide sysctl for getting information.
|
| #
e839ec30 |
| 13-Nov-2011 |
christos <christos@NetBSD.org> |
use getdisksize
|