summaryrefslogtreecommitdiff
path: root/sys/dev/pci/siop_pci_common.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/pci/siop_pci_common.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/pci/siop_pci_common.h')
-rw-r--r--sys/dev/pci/siop_pci_common.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/pci/siop_pci_common.h b/sys/dev/pci/siop_pci_common.h
index 641b36c7f79..39d640250fd 100644
--- a/sys/dev/pci/siop_pci_common.h
+++ b/sys/dev/pci/siop_pci_common.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: siop_pci_common.h,v 1.2 2001/02/20 00:32:30 krw Exp $ */
+/* $OpenBSD: siop_pci_common.h,v 1.3 2001/04/15 06:01:31 krw Exp $ */
/* $NetBSD: siop_pci_common.h,v 1.2 2000/10/23 14:57:23 bouyer Exp $ */
/*
@@ -40,7 +40,10 @@ struct siop_product_desc {
u_int8_t maxburst;
u_int8_t maxoff; /* maximum supported offset */
u_int8_t clock_div; /* clock divider to use for async. logic */
- u_int8_t clock_period; /* clock period (ns * 10) */
+ u_int8_t scf_index; /* Index into a period_factor_to_scf.scf */
+#define SF_CLOCK_2500 0
+#define SF_CLOCK_1250 1
+#define SF_CLOCK_625 2
int ram_size; /* size of RAM, if appropriate */
};