diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-01-04 10:37:41 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-01-04 10:37:41 +0000 |
commit | 826a606e9dd903d3cbcf9474470229ebc91fa4fe (patch) | |
tree | fe1ce3ffb2d28bc8f2c5000bb77174b5b7bade78 /sys/dev/pci/pciidevar.h | |
parent | ced536a82bb817960eb514a92297e6389ed80845 (diff) |
Add support for CS5535 IDE adapted from the gcscide code in NetBSD
originally written by Juan Romero Pardines.
Thanks to Lars Kotthoff for testing on a HeroLogic HL-463 system.
Because the CS5535 doesn't provide SMM emulated PCI access to set
DMA/PIO modes or a real PCI IDE controller we have to resort to
making MSR calls. As this is very MD specific, hide most of uglyness
away in i386 MD pciide code.
ok grange@
Diffstat (limited to 'sys/dev/pci/pciidevar.h')
-rw-r--r-- | sys/dev/pci/pciidevar.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/pciidevar.h b/sys/dev/pci/pciidevar.h index c957ba9db2d..fb7d3591388 100644 --- a/sys/dev/pci/pciidevar.h +++ b/sys/dev/pci/pciidevar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pciidevar.h,v 1.17 2009/01/04 10:22:01 jsg Exp $ */ +/* $OpenBSD: pciidevar.h,v 1.18 2009/01/04 10:37:40 jsg Exp $ */ /* $NetBSD: pciidevar.h,v 1.6 2001/01/12 16:04:00 bouyer Exp $ */ /* @@ -161,6 +161,10 @@ void pciide_print_channels(int, pcireg_t); * Functions defined by machine-dependent code. */ +#ifdef __i386__ +void gcsc_chip_map(struct pciide_softc *, struct pci_attach_args *); +#endif + /* Attach compat interrupt handler, returning handle or NULL if failed. */ #if !defined(pciide_machdep_compat_intr_establish) void *pciide_machdep_compat_intr_establish(struct device *, |