Ronald G Minnich <[EMAIL PROTECTED]> wrote:
> uh oh :-)
>
> what's a Config Base register ...
There is a block of I/O addresses on the SC2200 that are used for a
bunch of configuration registers and to control the watchdog timer.
This configuration block doesn't exist on the CS5530, so you can just
skip any code that has to do with it.
config_block_setup:
movw $0x2ea, %dx /* initial register to set address */
movw $SCx200_CB_BASE, %ax /* Config Block Base Address */
outw %ax, %dx
Second, the SuperIO is not built into the CS5530, so you'll have to
remove the code to configure the SIO address. But if you know the
SuperIO address you can probably keep some of the code that configures
the SIO itself, it's basically a NatSemi PC97317 SIO (docs can be
found at, http://www.national.com/ds/PC/ I belive):
/* Configure the SIO address */
movw $0x6200, %dx /* I/O Control Register */
inl %dx, %eax
movl $0x0f040000, %eax /* SIO at 0x15c, Enable USB */
outl %eax, %dx
/Christer
--
"Just how much can I get away with and still go to heaven?"