Home | History | Annotate | Line # | Download | only in include
      1 /* $NetBSD: autoconf.h,v 1.6 2019/05/24 14:28:48 nonaka Exp $ */
      2 #ifndef _X86_AUTOCONF_H_
      3 #define _X86_AUTOCONF_H_
      4 
      5 #include <sys/device.h>
      6 
      7 /*
      8  * device private data for mainbus.
      9  * subr_autoconf.c uses sizeof() to allocate private memory for this
     10  * data structure.
     11  */
     12 struct mainbus_softc {
     13 #if defined(__i386__)
     14 	device_t	sc_acpi;
     15 	device_t	sc_dev;
     16 	device_t	sc_ipmi;
     17 	device_t	sc_pci;
     18 	device_t	sc_mca;
     19 	device_t	sc_pnpbios;
     20 #endif
     21 };
     22 
     23 extern int x86_found_console;
     24 
     25 void device_pci_props_register(device_t, void *);
     26 device_t device_pci_register(device_t, void *);
     27 device_t device_isa_register(device_t, void *);
     28 void device_acpi_register(device_t, void *);
     29 
     30 #endif /* _X86_AUTOCONF_H_ */
     31