summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pciide_nforce_reg.h
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2003-12-12 13:00:39 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2003-12-12 13:00:39 +0000
commitda72ba2a73f3d5f997ab2b32465bb317a1052c2a (patch)
treed0a2d84e082ffe5c44b456d1fbf49a4780706058 /sys/dev/pci/pciide_nforce_reg.h
parent7048033023755b5b4e3fbcf04e81b674a580b602 (diff)
nforce chip doesn't have cable check bit; noticed by hugh@ a long
time ago.
Diffstat (limited to 'sys/dev/pci/pciide_nforce_reg.h')
-rw-r--r--sys/dev/pci/pciide_nforce_reg.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/pciide_nforce_reg.h b/sys/dev/pci/pciide_nforce_reg.h
index c96ac8e4dd6..d0745d8e45b 100644
--- a/sys/dev/pci/pciide_nforce_reg.h
+++ b/sys/dev/pci/pciide_nforce_reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide_nforce_reg.h,v 1.1 2003/02/13 15:39:59 grange Exp $ */
+/* $OpenBSD: pciide_nforce_reg.h,v 1.2 2003/12/12 13:00:38 grange Exp $ */
/*
* Copyright (c) 2003 Alexander Yurchenko <grange@openbsd.org>
@@ -29,8 +29,6 @@
#define NFORCE_CONF 0x50
#define NFORCE_CHAN_EN(chan) \
(0x00000001 << (1 - (chan)))
-#define NFORCE_CONF_CABLE(chan, drive) \
- (0x00010000 << ((chan) * 2 + (drive)))
/* PIO and multiword DMA timing register */
#define NFORCE_PIODMATIM 0x58