Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci add %b strings for sockevent and sockstate regis...



details:   https://anonhg.NetBSD.org/src/rev/366034d6fe4a
branches:  trunk
changeset: 480454:366034d6fe4a
user:      joda <joda%NetBSD.org@localhost>
date:      Thu Jan 13 08:46:46 2000 +0000

description:
add %b strings for sockevent and sockstate registers

diffstat:

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

diffs (20 lines):

diff -r d214d3be0aff -r 366034d6fe4a sys/dev/pci/pccbbreg.h
--- a/sys/dev/pci/pccbbreg.h    Thu Jan 13 06:52:47 2000 +0000
+++ b/sys/dev/pci/pccbbreg.h    Thu Jan 13 08:46:46 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pccbbreg.h,v 1.3 1999/11/01 08:58:45 haya Exp $        */
+/*     $NetBSD: pccbbreg.h,v 1.4 2000/01/13 08:46:46 joda Exp $        */
 /*
  * Copyright (c) 1999 HAYAKAWA Koichi.  All rights reserved.
  *
@@ -50,6 +50,10 @@
 #define CB_SOCKET_FORCE 0x0c   /* offset of cardbus socket force event */
 #define CB_SOCKET_CTRL  0x10   /* offset of cardbus socket control reg */
 
+#define PCCBB_SOCKEVENT_BITS "\020\001CSTS\002CD1\003CD2\004PWR"
+#define PCCBB_SOCKSTATE_BITS "\020\001CSTS\002CD1\003CD3\004PWR" \
+          "\00516BIT\006CB\007CINT\010NOTA\011DLOST\012BADVCC" \
+          "\0135v\0143v\015Xv\016Yv\0355vS\0363vS\037XvS\040YvS"
 
 /* CardBus latency timer, Subordinate bus no, CardBus bus no and PCI bus no */
 #define PCI_CB_LSCP_REG  0x18



Home | Main Index | Thread Index | Old Index