NetBSD/sys/arch/amiga/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 <machine/int_types.h>, which provides namespace-pure definitions 2000-06-26 15:42:16 +00:00
ansi.h
aout_machdep.h
asm.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
cpu.h Unification of the m68k syscall() function. 2000-12-19 21:09:54 +00:00
cpufunc.h
db_machdep.h
disklabel.h
elf_machdep.h
endian.h
endian_machdep.h
fbio.h
float.h
frame.h
ieee.h
ieeefp.h
int_types.h Add <machine/int_types.h>, which provides namespace-pure definitions 2000-06-26 15:42:16 +00:00
intr.h Add IPL_SOFTCLOCK, which was missing. 2001-01-17 20:53:43 +00:00
kcore.h
limits.h
lock.h
math.h
mtpr.h Make softclock a generic soft interrupt of the API is available, 2001-01-15 20:19:50 +00:00
param.h
pcb.h define PCB_REGS_* so that kdb compiles again 2000-09-27 08:23:50 +00:00
pmap.h
proc.h
profile.h
psl.h Make sure everybody has an splvm() and equate it with splimp() (splimp() 2001-01-14 02:00:37 +00:00
pte.h
ptrace.h
reg.h
setjmp.h
signal.h
stdarg.h
svr4_machdep.h
trap.h
types.h Rename __GENERIC_SOFT_INTERRUPTS to __HAVE_GENERIC_SOFT_INTERRUPTS, 2001-01-14 23:50:28 +00:00
varargs.h
vmparam.h We use 8K pages on the Amiga. Make PAGE_SIZE and friends into 2000-11-14 18:58:29 +00:00