History log of /netbsd-src/sys/dev/hpc/btnmgr.c (Results 26 – 31 of 31)
Revision Date Author Comments
# 77a6b82b 06-Sep-2002 gehenna <gehenna@NetBSD.org>

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant st

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.

show more ...


# 31144d99 17-Mar-2002 atatat <atatat@NetBSD.org>

Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has

Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.

show more ...


# 9ea4be44 13-Jan-2002 takemura <takemura@NetBSD.org>

Number of elements in button_config is smaller than CONFIG_HOOK_MAX_ID.


# b84f53ef 13-Nov-2001 lukem <lukem@NetBSD.org>

add RCSID


# 859a6a49 04-Jun-2001 uch <uch@NetBSD.org>

ANSI KNF.


# 659f65e0 22-Feb-2001 uch <uch@NetBSD.org>

hpc common files are moved to dev/hpc.


12