Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic sync with sys/dev/ic/adwlib.h change (s/ADV_TICKL...
details: https://anonhg.NetBSD.org/src/rev/1a83009f9c62
branches: trunk
changeset: 494225:1a83009f9c62
user: itojun <itojun%NetBSD.org@localhost>
date: Tue Jul 04 04:17:03 2000 +0000
description:
sync with sys/dev/ic/adwlib.h change (s/ADV_TICKLE/ADW_TICKLE/)
not sure if it is right. comments?
diffstat:
sys/dev/ic/adwlib.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (57 lines):
diff -r c51279ccba3a -r 1a83009f9c62 sys/dev/ic/adwlib.c
--- a/sys/dev/ic/adwlib.c Tue Jul 04 03:28:59 2000 +0000
+++ b/sys/dev/ic/adwlib.c Tue Jul 04 04:17:03 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: adwlib.c,v 1.19 2000/06/28 17:12:50 mrg Exp $ */
+/* $NetBSD: adwlib.c,v 1.20 2000/07/04 04:17:03 itojun Exp $ */
/*
* Low level routines for the Advanced Systems Inc. SCSI controllers chips
@@ -1801,7 +1801,7 @@
* Tickle the RISC to tell it to read its Command Queue Head
* pointer.
*/
- ADW_WRITE_BYTE_REGISTER(iot, ioh, IOPB_TICKLE, ADV_TICKLE_A);
+ ADW_WRITE_BYTE_REGISTER(iot, ioh, IOPB_TICKLE, ADW_TICKLE_A);
if (sc->chip_type == ADW_CHIP_ASC3550) {
/*
* Clear the tickle value. In the ASC-3550 the RISC flag
@@ -1809,7 +1809,7 @@
* value is cleared.
*/
ADW_WRITE_BYTE_REGISTER(iot, ioh, IOPB_TICKLE,
- ADV_TICKLE_NOP);
+ ADW_TICKLE_NOP);
}
} else if (sc->chip_type == ADW_CHIP_ASC38C1600) {
/*
@@ -2034,10 +2034,10 @@
if (intrb_code == ADV_ASYNC_CARRIER_READY_FAILURE &&
sc->carr_pending_cnt != 0) {
ADW_WRITE_BYTE_REGISTER(iot, ioh,
- IOPB_TICKLE, ADV_TICKLE_A);
+ IOPB_TICKLE, ADW_TICKLE_A);
if (sc->chip_type == ADW_CHIP_ASC3550) {
ADW_WRITE_BYTE_REGISTER(iot, ioh,
- IOPB_TICKLE, ADV_TICKLE_NOP);
+ IOPB_TICKLE, ADW_TICKLE_NOP);
}
}
}
@@ -2185,14 +2185,14 @@
/*
* Tickle the RISC to tell it to process the idle command.
*/
- ADW_WRITE_BYTE_REGISTER(iot, ioh, IOPB_TICKLE, ADV_TICKLE_B);
+ ADW_WRITE_BYTE_REGISTER(iot, ioh, IOPB_TICKLE, ADW_TICKLE_B);
if (sc->chip_type == ADW_CHIP_ASC3550) {
/*
* Clear the tickle value. In the ASC-3550 the RISC flag
* command 'clr_tickle_b' does not work unless the host
* value is cleared.
*/
- ADW_WRITE_BYTE_REGISTER(iot, ioh, IOPB_TICKLE, ADV_TICKLE_NOP);
+ ADW_WRITE_BYTE_REGISTER(iot, ioh, IOPB_TICKLE, ADW_TICKLE_NOP);
}
/* Wait for up to 100 millisecond for the idle command to timeout. */
Home |
Main Index |
Thread Index |
Old Index