diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-10-17 19:00:47 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-10-17 19:00:47 +0000 |
commit | 4b00196c60b83e23bcda5b240d2e874be9950b66 (patch) | |
tree | dc70b04b07e85dca6d972d29175c7f8413933922 /sys/dev/pci/pciidevar.h | |
parent | b0ca8c27a68fb4f778b0f080e1eb8531e8bf345e (diff) |
Allow chip-map function to specify which bits must permanently present
in the dma command register. It's a no-op for now but sii3114 will need
it. From NetBSD.
Diffstat (limited to 'sys/dev/pci/pciidevar.h')
-rw-r--r-- | sys/dev/pci/pciidevar.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/pci/pciidevar.h b/sys/dev/pci/pciidevar.h index 7d6ad15623d..b552dd60036 100644 --- a/sys/dev/pci/pciidevar.h +++ b/sys/dev/pci/pciidevar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pciidevar.h,v 1.15 2004/10/17 18:47:08 grange Exp $ */ +/* $OpenBSD: pciidevar.h,v 1.16 2004/10/17 19:00:46 grange Exp $ */ /* $NetBSD: pciidevar.h,v 1.6 2001/01/12 16:04:00 bouyer Exp $ */ /* @@ -91,6 +91,13 @@ struct pciide_softc { bus_dmamap_t dmamap_xfer; int dma_flags; } dma_maps[2]; + /* + * Some controllers require certain bits to + * always be set for proper operation of the + * controller. Set those bits here, if they're + * required. + */ + uint8_t idedma_cmd; } pciide_channels[PCIIDE_MAX_CHANNELS]; /* Chip-specific private data */ |