NetBSD/sys/arch/hpcarm/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
..
Makefile add profile.h,profileio.h 2001-02-24 07:16:51 +00:00
ansi.h
aout_machdep.h
asm.h
bootconfig.h
bootinfo.h
bswap.h
bus.h
cdefs.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
cpu.h
cpufunc.h
cpus.h
db_machdep.h hpcarm kernel is ELF. 2001-03-20 18:01:49 +00:00
disklabel.h Use hpc/hpc/disksubr.c. 2001-03-14 14:47:40 +00:00
elf_machdep.h
endian.h
endian_machdep.h
float.h
fp.h
frame.h
ieee.h
ieeefp.h
int_types.h
intr.h
io.h
irqhandler.h
katelib.h
limits.h
lock.h
math.h
param.h Only define MACHINE & MACHINE_ARCH in port-dependent param.h. 2001-03-04 08:28:51 +00:00
pcb.h
platid.h
platid_generated.h
platid_mask.h
pmap.h
proc.h
profile.h add profile.h,profileio.h 2001-02-24 07:16:51 +00:00
profileio.h add profile.h,profileio.h 2001-02-24 07:16:51 +00:00
psl.h
pte.h
ptrace.h
reg.h
rtc.h
setjmp.h
signal.h
stdarg.h
sysarch.h
trap.h
types.h __HAVE_NWSCONS and __HAVE_DEVICE_REGISTER are MACHINE-dependent. 2001-02-23 22:02:43 +00:00
undefined.h
varargs.h
vmparam.h