As I'm working on a bootloader as an elf image to be loaded through
LinuxBIOS, I need to get the IDE controllers on. For a few chipsets
(m1535, vt8231, vt82c686, m1631) this is done in LinuxBIOS, but for SiS630
it's done as a patch to the kernel. Is there a reason it has to be done
that way? I've tried forcing on the controller with
pci_write_config_byte(pcidev, 0x4A, 0xE6);
(values were ripped from what the linux kernel detects for the sis630)
but that doesn't seem to work.
So two questions,
Is there a way to detect if the IDE controller is on?
Is there a better way to do this?

- adam

Reply via email to