NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: timeout on siside0
I was able to come up with a solution to my problem. I filed a bug
report; kern/48858. The following patches work for me. I mentioned
the siside.c patch elsewhere in this thread and the pciide_sis_reg.h
patch is just copying the timing numbers from FreeBSD 10 source code
(since I'd made the observations that FreeBSD 10 works for me and that
there is a comment in the NetBSD source indicating that the timing
numbers came "mostly" from FreeBSD.) I'd appreciate it if anyone can
test this patch or offer feedback. Thanks.
--- pciide_sis_reg.h.orig 2009-10-19 18:41:16.000000000 +0000
+++ pciide_sis_reg.h 2014-06-02 18:00:46.000000000 +0000
@@ -108,4 +108,5 @@
static const u_int32_t sis_dma133new_tim[] __unused =
{0x22196008, 0x0c0a3008, 0x05093008};
static const u_int32_t sis_udma133new_tim[] __unused =
- {0x9f4, 0x64a, 0x474, 0x254, 0x234, 0x224, 0x214};
+ /* {0x9f4, 0x64a, 0x474, 0x254, 0x234, 0x224, 0x214}; */
+ {0x9fc, 0x6ac, 0x47c, 0x25c, 0x23c, 0x22c, 0x21c};
--- siside.c.orig 2014-05-27 15:49:34.000000000 -0500
+++ siside.c 2014-05-27 19:21:05.000000000 -0500
@@ -158,7 +158,7 @@
{PCI_PRODUCT_SIS_740, 0x00, 5, "740", SIS_TYPE_SOUTH},
{PCI_PRODUCT_SIS_741, 0x00, 5, "741", SIS_TYPE_SOUTH},
{PCI_PRODUCT_SIS_745, 0x00, 5, "745", SIS_TYPE_100NEW},
- {PCI_PRODUCT_SIS_746, 0x00, 6, "746", SIS_TYPE_SOUTH},
+ {PCI_PRODUCT_SIS_746, 0x00, 6, "746", SIS_TYPE_100NEW},
{PCI_PRODUCT_SIS_748, 0x00, 6, "748", SIS_TYPE_SOUTH},
{PCI_PRODUCT_SIS_750, 0x00, 6, "750", SIS_TYPE_SOUTH},
{PCI_PRODUCT_SIS_751, 0x00, 6, "751", SIS_TYPE_SOUTH},
--
Roy Bixler <rcbixler%nyx.net@localhost>
"The fundamental principle of science, the definition almost, is this: the
sole test of the validity of any idea is experiment."
-- Richard P. Feynman
Home |
Main Index |
Thread Index |
Old Index