Make the pnp structure a global variable, so it can be used elsewhere.

This commit is contained in:
Daniel C. Sobral 2000-09-08 16:51:29 +00:00
parent 59549c5031
commit 3053524c85
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65614
2 changed files with 5 additions and 1 deletions

View File

@ -138,6 +138,10 @@ struct pnpinfo
STAILQ_ENTRY(pnpinfo) pi_link;
};
STAILQ_HEAD(pnpinfo_stql, pnpinfo);
extern struct pnpinfo_stql pnp_devices;
extern struct pnphandler *pnphandlers[]; /* provided by MD code */
void pnp_addident(struct pnpinfo *pi, char *ident);

View File

@ -15,7 +15,7 @@
#include <string.h>
#include <bootstrap.h>
STAILQ_HEAD(,pnpinfo) pnp_devices;
struct pnpinfo_stql pnp_devices;
static int pnp_devices_initted = 0;
static void pnp_discard(void);