summaryrefslogtreecommitdiff
path: root/sys/dev/ic/siopvar.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2001-04-15 06:01:33 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2001-04-15 06:01:33 +0000
commiteec6fc2cdaf9318e5cd310cf0863d77276d49d0a (patch)
treef192bd690df7dc4a9f8b6c89bb4af785d227119d /sys/dev/ic/siopvar.h
parentc8c56fd9ceeee1295adc3c3951381e53cdc4cce9 (diff)
Support U160 on 53c1010 chips.
Add support for PPR negotiations and DT transfers, and the preservation and restoration of the SCNTL4 register which controls Ultra3 transfers. Redo sync lookup, since the same period factor can mean two things depending on whether you are using DT or ST. Keep a minimum allowed ST period factor, and a minimum allowd DT period factor for each adapter. Currently NO support for QAS or IUS or AIP.
Diffstat (limited to 'sys/dev/ic/siopvar.h')
-rw-r--r--sys/dev/ic/siopvar.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/siopvar.h b/sys/dev/ic/siopvar.h
index b5ca1393cb1..e61fd9730b6 100644
--- a/sys/dev/ic/siopvar.h
+++ b/sys/dev/ic/siopvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: siopvar.h,v 1.3 2001/03/10 05:04:06 krw Exp $ */
+/* $OpenBSD: siopvar.h,v 1.4 2001/04/15 06:01:29 krw Exp $ */
/* $NetBSD: siopvar.h,v 1.13 2000/10/23 23:18:11 bouyer Exp $ */
/*
@@ -46,9 +46,9 @@ struct siop_softc {
int maxburst;
int maxoff;
int clock_div; /* async. clock divider (scntl3) */
- int clock_period; /* clock period (ns * 10) */
- int minsync; /* min and max sync period, */
- int maxsync; /* as sent in SDTR message */
+ int min_dt_sync; /* minimum acceptable double transition sync */
+ int min_st_sync; /* minimum acceptable single transition sync */
+ int scf_index; /* clock id == index into period_factor[].scf */
bus_space_tag_t sc_rt; /* bus_space registers tag */
bus_space_handle_t sc_rh; /* bus_space registers handle */
bus_addr_t sc_raddr; /* register adresses */