NetBSD/sys/arch/sparc/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
..
am7930_machdep.h
ansi.h replace 'long long' with int64_t to compile stand alone program with 2001-01-03 10:08:55 +00:00
aout_machdep.h
apmvar.h
asm.h
autoconf.h
bootinfo.h
bsd_openprom.h
bswap.h
bus.h Add the BUS_DMA_STREAMING flag. 2001-03-07 22:42:16 +00:00
cdefs.h
cgtworeg.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 sprinkle KERNEL_LOCK() and KERNEL_PROC_LOCK() where they're missing. add 2001-03-15 03:01:39 +00:00
ctlreg.h
db_machdep.h
disklabel.h
eeprom.h
elf_machdep.h
endian_machdep.h
endian.h
fbvar.h
float.h
frame.h sync with sparc64. 2001-03-22 06:21:43 +00:00
fsr.h
idprom.h
ieee.h
ieeefp.h
instr.h
int_types.h replace 'long long' with int64_t to compile stand alone program with 2001-01-03 10:08:55 +00:00
intr.h
kbd.h
kbio.h
kcore.h
limits.h
loadfile_machdep.h
lock.h
Makefile
math.h
oldmon.h
openfirm.h
openpromio.h
param.h Drop MSGBUFSIZE; we don't use it and it can't currently be configured 2001-03-01 15:59:04 +00:00
pcb.h Remove unused declaration of `cpcb', which is no longer a global variable. 2001-03-03 19:42:38 +00:00
pmap.h Drop the managed() macro; it is no longer used. 2001-03-01 15:56:47 +00:00
proc.h
profile.h
promlib.h
psl.h sync with sparc64. 2001-03-22 06:21:43 +00:00
pte.h
ptrace.h
reg.h
reloc.h
remote-sl.h
setjmp.h
signal.h
stdarg.h
svr4_machdep.h
tctrl.h
trap.h
types.h replace 'long long' with int64_t to compile stand alone program with 2001-01-03 10:08:55 +00:00
varargs.h
vmparam.h * Make PAGE_SIZE et.al. constants, if possible. 2001-02-27 22:40:08 +00:00
vuid_event.h
z8530var.h