diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-06-26 20:25:52 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-06-26 20:25:52 +0000 |
commit | 6e8e19c3ec5c652ee22bb615672cceb868d6ebe5 (patch) | |
tree | ffd29ca20e827e0bf3430ec5c65fdfcadf997e87 /sys/arch/alpha/pci/pci_machdep.h | |
parent | a7926156e17b493f9d7b9ac07f4d7fe8d7a003ef (diff) |
Provide some chipset information to usreland through sysctl.
The chipset support is not here yet, but the skeleton works.
Diffstat (limited to 'sys/arch/alpha/pci/pci_machdep.h')
-rw-r--r-- | sys/arch/alpha/pci/pci_machdep.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/alpha/pci/pci_machdep.h b/sys/arch/alpha/pci/pci_machdep.h index a78c5af74d2..b3d7df1451f 100644 --- a/sys/arch/alpha/pci/pci_machdep.h +++ b/sys/arch/alpha/pci/pci_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.h,v 1.12 2001/06/25 23:03:04 art Exp $ */ +/* $OpenBSD: pci_machdep.h,v 1.13 2001/06/26 20:25:51 art Exp $ */ /* $NetBSD: pci_machdep.h,v 1.6 1996/11/19 04:49:21 cgd Exp $ */ /* @@ -73,8 +73,14 @@ struct alpha_pci_chipset { int (*)(void *), void *)); void (*pc_pciide_compat_intr_disestablish) __P((void *, void *)); + char *pc_name; /* PCI chipset name */ + vaddr_t pc_mem; /* PCI memory address */ + int pc_bwx; /* chipset supports BWX */ }; +extern struct alpha_pci_chipset *alpha_pci_chipset; +int alpha_sysctl_chipset(int *, u_int, char *, size_t *); + /* * Functions provided to machine-independent PCI code. */ |