Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Ops, forgot this one: Add interrupt disable bit ...



details:   https://anonhg.NetBSD.org/src/rev/53475dad9800
branches:  trunk
changeset: 495412:53475dad9800
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Thu Jul 27 15:26:16 2000 +0000

description:
Ops, forgot this one: Add interrupt disable bit #define for HPT370

diffstat:

 sys/dev/pci/pciide_hpt_reg.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r f73fcf8ade1a -r 53475dad9800 sys/dev/pci/pciide_hpt_reg.h
--- a/sys/dev/pci/pciide_hpt_reg.h      Thu Jul 27 15:25:07 2000 +0000
+++ b/sys/dev/pci/pciide_hpt_reg.h      Thu Jul 27 15:26:16 2000 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: pciide_hpt_reg.h,v 1.1 2000/06/12 21:20:51 bouyer Exp $       */
+/*      $NetBSD: pciide_hpt_reg.h,v 1.2 2000/07/27 15:26:16 bouyer Exp $       */
 
 /*
  * Copyright (c) 2000 Manuel Bouyer.
@@ -108,6 +108,9 @@
 #define HPT_STAT2_POLLST               0x01
 
 #define HPT_CSEL               0x5a
+#define HPT_CSEL_IRQDIS                        0x10 /* 370 only */
+#define HPT_CSEL_PCIDIS                        0x08 /* 370 only */
+#define HPT_CSEL_PCIWR                 0x04 /* 370 only */
 #define HPT_CSEL_CBLID(chan)            (0x01 << (1 - (chan)))
 
 static u_int32_t hpt366_pio[] =



Home | Main Index | Thread Index | Old Index