NetBSD/sys/arch/sparc64/sparc64
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
..
asm.h
autoconf.c Save the machine model string in case someone needs it (like slowlaris). 2001-02-11 00:27:06 +00:00
bsd_fdintr.s
cache.c
cache.h
clock.c In cpu_reboot(), only reset the TOD clock if the time is known to be good 2001-01-20 13:44:29 +00:00
compat_13_machdep.c
conf.c - add dev_noimpl(xxx,yyy) macro to replace "(dev_type_xxx((*))) yyy", 2001-03-26 12:33:22 +00:00
cpu.c
cpuvar.h
db_disasm.c
db_interface.c fix 'show registers' mis-aligned access, PR11580 2001-03-22 22:20:28 +00:00
db_trace.c
disksubr.c
emul.c
genassym.c
genassym.cf
in_cksum.c
intersil7170.h
intr.c
intreg.h
kgdb_proto.h
kgdb_stub.c
locore2.c
locore.s Fix inverted preprocessor logic. (Spotted by Charles.) 2001-03-07 01:47:02 +00:00
machdep.c eliminate the KERN_* error codes in favor of the traditional E* codes. 2001-03-15 06:10:32 +00:00
mem.c
netbsd32_machdep.c type cleanups. 2001-02-12 16:07:38 +00:00
ofw_machdep.c
openfirm.c
openprom.c
pmap.c eliminate the KERN_* error codes in favor of the traditional E* codes. 2001-03-15 06:10:32 +00:00
process_machdep.c
procfs_machdep.c No-op commit to force update to a non-"-kk" revision. 2001-01-18 17:47:58 +00:00
sigdebug.h
sunos32_machdep.c oops, kill some debugging messages. 2001-02-05 13:13:47 +00:00
sunos_machdep.c kill the ad clause in my license. 2001-01-29 01:37:56 +00:00
svr4_32_machdep.c Add support for COMPAT_SVR4_32. 2001-02-11 00:39:37 +00:00
svr4_machdep.c Add support for 64-bit SVR4 (Solaris 8) binaries. 2001-02-21 23:53:00 +00:00
sys_machdep.c
sysioreg.h
timerreg.h
trap.c eliminate the KERN_* error codes in favor of the traditional E* codes. 2001-03-15 06:10:32 +00:00
vm_machdep.c