Index: en_US.ISO8859-1/books/arch-handbook/isa/chapter.xml =================================================================== --- en_US.ISO8859-1/books/arch-handbook/isa/chapter.xml (revision 40833) +++ en_US.ISO8859-1/books/arch-handbook/isa/chapter.xml (working copy) @@ -146,7 +146,7 @@ DEVMETHOD(device_suspend, xxx_isa_suspend), DEVMETHOD(device_resume, xxx_isa_resume), - { 0, 0 } + DEVMETHOD_END }; static driver_t xxx_isa_driver = { Index: en_US.ISO8859-1/books/arch-handbook/pci/chapter.xml =================================================================== --- en_US.ISO8859-1/books/arch-handbook/pci/chapter.xml (revision 40833) +++ en_US.ISO8859-1/books/arch-handbook/pci/chapter.xml (working copy) @@ -37,7 +37,7 @@ #include <sys/conf.h> /* cdevsw struct */ #include <sys/uio.h> /* uio struct */ #include <sys/malloc.h> -#include <sys/bus.h> /* structs, prototypes for pci bus stuff */ +#include <sys/bus.h> /* structs, prototypes for pci bus stuff and DEVMETHOD macros! */ #include <machine/bus.h> #include <sys/rman.h> @@ -221,7 +221,7 @@ DEVMETHOD(device_suspend, mypci_suspend), DEVMETHOD(device_resume, mypci_resume), - { 0, 0 } + DEVMETHOD_END }; static devclass_t mypci_devclass;