28 lines
406 B
C
28 lines
406 B
C
#include "ata.h"
|
|
#include "config.h"
|
|
|
|
extern AtaDevice rtc_dev;
|
|
#ifdef ATA_ETHERNET
|
|
extern AtaDevice ethernet_dev;
|
|
#endif /* ATA_ETHERNET */
|
|
#ifdef ATA_VGA
|
|
extern AtaDevice vga_dev;
|
|
#endif /* ATA_VGA */
|
|
|
|
|
|
AtaDevice *devices[] = {
|
|
&rtc_dev,
|
|
#ifdef ATA_ETHERNET
|
|
ðernet_dev,
|
|
#endif /* ATA_ETHERNET */
|
|
#ifdef ATA_VGA
|
|
&vga_dev,
|
|
#endif /* ATA_VGA */
|
|
NULL
|
|
};
|
|
|
|
void
|
|
ata_bus_initialize(void)
|
|
{
|
|
}
|