sym53c8xx clock being incorrectly set

flat view

From: Troy Benjegerdes <hidden>
Date: 1999-06-28 02:05:34

When my MTX machine boots correctly, I get a message when the sym53c
driver inits something like this:

ncr53c875-0: NCR clock is 26772KHz, 26772KHz


When I compiled 2.2.10, I got saw somthing like 60xxxKHz, and the symbios
driver would continually reset the bus on command timeouts.
(see my previous message)


Well, I changed line 9495 of drivers/scsi/sym53c8xx.c from

        OUTB (nc_stime1, gen);  /* set to nominal delay of 1<<gen * 125us */
        while (!(INW(nc_sist) & GEN) && ms++ < 100000)
                UDELAY (1000);   /* count ms */
        OUTB (nc_stime1, 0);    /* disable general purpose timer */    

to

		UDELAY (480);   /* count ms */


This is obviously not the right way to fix this, but it has solved my
immediate problem (my machine didn't boot), and I have a couple of
deadlines to meet.

If anyone figures this out, or has an idea what why this is messed up, let
me know. Otherwise, I'll get around to fixing it eventually. (I hope)

--------------------------------------------------------------------------
| Troy Benjegerdes    |       troy@microux.com     |    hozer@drgw.net   |
|    Unix is user friendly... You just have to be friendly to it first.  |
| This message composed with 100% free software.    http://www.gnu.org   |
--------------------------------------------------------------------------


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help