NetBSD/sys/arch/hpcsh/include
lukem 20ba07f2fe - add dev_noimpl(xxx,yyy) macro to replace "(dev_type_xxx((*))) yyy",
and use appropriately

- create more helper macros:
   . cdev__xyz_init(c,n), such as cdev__ocri_init() for
     /* open, close, read, ioctl */, etc.
   . cdev__xRy_init(c,n), where nullop is used instead of enodev to dummy out
     method `R' and the comments now read /* xxx (read) yyy */ instead
   . cdev__xyz_t_init(c,n,t) - as per cdev__xyz_init, but sets d_type = t
     as well

- use seltrue instead of dev_noimpl(poll,*), as (IIRC) cdevsw.d_poll should
  always DTRT WRT returning a valid result.  (a few devices previously
  incorrectly returned ENODEV)

- use dev_noimpl(stop,enodev) instead of dev_noimpl(stop,nullop) if tty
  == 0, because it doesn't matter if dev_type_stop isn't implemented in that
  case, and it allows the use of the cdev__xyz_init macros. certain ports
  (sparc,sparc64,x68k) used the nullop method for dev_type_stop in a few
  drivers, whereas everything else uses enodev

- ensure that the comments are accurate WRT the behaviour of a given entry
2001-03-26 12:33:22 +00:00
..
ansi.h
aout_machdep.h
asm.h
autoconf.h enable wscons. 2001-02-24 20:17:45 +00:00
bootinfo.h HD64461 UART module support. 2001-03-15 17:30:55 +00:00
bswap.h
bus.h HD64461 UART module support. 2001-03-15 17:30:55 +00:00
cdefs.h
coff_machdep.h
conf.h - add dev_noimpl(xxx,yyy) macro to replace "(dev_type_xxx((*))) yyy", 2001-03-26 12:33:22 +00:00
config_hook.h setup platid and config_hook. 2001-01-28 03:40:25 +00:00
cpu.h
cpufunc.h
cputypes.h
db_machdep.h
disklabel.h
elf_machdep.h
endian_machdep.h
endian.h
float.h
frame.h
ieee.h
ieeefp.h
int_types.h
intr.h HD64461 support. 2001-02-21 16:28:02 +00:00
limits.h
lock.h
Makefile
math.h
param.h
pcb.h
pio.h
platid_generated.h sync with platid_gen change. 2001-02-05 17:39:45 +00:00
platid_mask.h sync with platid_gen change. 2001-02-05 17:39:45 +00:00
platid.h setup platid and config_hook. 2001-01-28 03:40:25 +00:00
pmap.h
proc.h
profile.h
psl.h
pte.h
ptrace.h
reg.h
segments.h
setjmp.h
shbvar.h
signal.h
stdarg.h
trap.h
types.h
varargs.h
vmparam.h move VM_PHYSSEG_MAX, VM_NFREELIST, VM_FREELIST_DEFAULT defines to 2001-02-07 14:53:09 +00:00