Move the ALi M5123 initialization to the end of the M1543(C) initialization.
This commit is contained in:
@@ -1548,9 +1548,6 @@ ali1543_init(const device_t *info)
|
||||
/* USB */
|
||||
dev->usb = device_add(&usb_device);
|
||||
|
||||
/* Super I/O chip */
|
||||
device_add(&ali5123_device);
|
||||
|
||||
dev->type = info->local & 0xff;
|
||||
dev->offset = (info->local >> 8) & 0x7f;
|
||||
if (info->local & 0x8000)
|
||||
@@ -1565,6 +1562,9 @@ ali1543_init(const device_t *info)
|
||||
pci_enable_mirq(5);
|
||||
pci_enable_mirq(6);
|
||||
|
||||
/* Super I/O chip */
|
||||
device_add(&ali5123_device);
|
||||
|
||||
ali1543_reset(dev);
|
||||
|
||||
return dev;
|
||||
|
Reference in New Issue
Block a user