NetBSD/sys/arch/hp300
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
..
compile
conf Add machdep file for procfs. Currently only used for linux-style 2001-01-17 00:07:18 +00:00
dev eliminate the KERN_* error codes in favor of the traditional E* codes. 2001-03-15 06:10:32 +00:00
DOC Fix doubled 'the's in comments. 2000-03-13 23:52:25 +00:00
hp300 - add dev_noimpl(xxx,yyy) macro to replace "(dev_type_xxx((*))) yyy", 2001-03-26 12:33:22 +00:00
include Make sure everybody has an splvm() and equate it with splimp() (splimp() 2001-01-14 02:00:37 +00:00
stand Convert both bootblocks and mkboot to use libsa's loadfile(), and make 2001-01-02 04:14:33 +00:00
Makefile Rework the way kernel include files are installed. In the new method, 1998-06-12 23:22:30 +00:00