mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-17 22:58:26 +00:00
committed by
Christian Helmuth
parent
05e5ecca86
commit
03ed5fc3f4
@ -42,7 +42,7 @@ struct cdevsw cdevsw[] = {
|
||||
audioioctl,
|
||||
(int (*)(struct tty*, int)) enodev,
|
||||
0,
|
||||
audiopoll,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
@ -59,8 +59,8 @@ struct device *config_found_sm(struct device *parent, void *aux, cfprint_t print
|
||||
cfmatch_t submatch)
|
||||
{
|
||||
struct cfdata *cf = &cfdata[0];
|
||||
struct cfattach *ca = cf->cf_attach;
|
||||
struct cfdriver *cd = cf->cf_driver;
|
||||
struct cfattach const *ca = cf->cf_attach;
|
||||
struct cfdriver const *cd = cf->cf_driver;
|
||||
|
||||
int rv = ca->ca_match(parent, NULL, aux);
|
||||
if (rv) {
|
||||
|
@ -61,12 +61,12 @@ int probe_cfdata(struct pci_attach_args *pa)
|
||||
size_t i;
|
||||
for (i = 0; i < ncd; i++) {
|
||||
struct cfdata *cf = &cfdata[i];
|
||||
struct cfdriver *cd = cf->cf_driver;
|
||||
struct cfdriver const *cd = cf->cf_driver;
|
||||
|
||||
if (*cf->cf_parents != PCI_BUS_PARENT)
|
||||
continue;
|
||||
|
||||
struct cfattach *ca = cf->cf_attach;
|
||||
struct cfattach const *ca = cf->cf_attach;
|
||||
if (!ca->ca_match)
|
||||
continue;
|
||||
|
||||
|
@ -64,6 +64,7 @@ DUMMY(0, klist_remove)
|
||||
DUMMY(0, klist_remove_locked)
|
||||
DUMMY(0, knote_modify)
|
||||
DUMMY(0, knote_process)
|
||||
DUMMY(0, knote_locked)
|
||||
DUMMY(0, pci_findvendor)
|
||||
DUMMY(0, pci_intr_disestablish)
|
||||
DUMMY(0, pci_set_powerstate)
|
||||
|
@ -247,6 +247,12 @@ struct kevent
|
||||
short filter;
|
||||
};
|
||||
|
||||
|
||||
struct klist;
|
||||
|
||||
void knote_locked(struct klist *list, long hint);
|
||||
|
||||
|
||||
#include <sys/queue.h>
|
||||
|
||||
struct knote;
|
||||
|
Reference in New Issue
Block a user