1/* 2 * mjs copyright 3 *
| 1/* 2 * mjs copyright 3 *
|
4 * $FreeBSD: head/sys/boot/common/pnp.c 60938 2000-05-26 02:09:24Z jake $
| 4 * $FreeBSD: head/sys/boot/common/pnp.c 64187 2000-08-03 09:14:02Z jhb $
|
5 */ 6/* 7 * "Plug and Play" functionality. 8 * 9 * We use the PnP enumerators to obtain identifiers for installed hardware, 10 * and the contents of a database to determine modules to be loaded to support 11 * such hardware. 12 */ 13 14#include <stand.h> 15#include <string.h> 16#include <bootstrap.h> 17 18STAILQ_HEAD(,pnpinfo) pnp_devices; 19static int pnp_devices_initted = 0; 20 21static void pnp_discard(void);
| 5 */ 6/* 7 * "Plug and Play" functionality. 8 * 9 * We use the PnP enumerators to obtain identifiers for installed hardware, 10 * and the contents of a database to determine modules to be loaded to support 11 * such hardware. 12 */ 13 14#include <stand.h> 15#include <string.h> 16#include <bootstrap.h> 17 18STAILQ_HEAD(,pnpinfo) pnp_devices; 19static int pnp_devices_initted = 0; 20 21static void pnp_discard(void);
|
22static int pnp_readconf(char *path); 23static int pnp_scankernel(void);
| |
24 25/* 26 * Perform complete enumeration sweep 27 */ 28 29COMMAND_SET(pnpscan, "pnpscan", "scan for PnP devices", pnp_scan); 30 31static int
--- 350 unchanged lines hidden --- | 22 23/* 24 * Perform complete enumeration sweep 25 */ 26 27COMMAND_SET(pnpscan, "pnpscan", "scan for PnP devices", pnp_scan); 28 29static int
--- 350 unchanged lines hidden --- |