Rework PCI ata and serial drivers, program according to the progif byte
This commit is contained in:
14
kernel/pci/serial/serial.h
Normal file
14
kernel/pci/serial/serial.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef PCI_SERIAL_SERIAL_H_
|
||||
#define PCI_SERIAL_SERIAL_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
typedef struct {
|
||||
uint16_t iobase;
|
||||
int lockstate;
|
||||
} PciSerialDev;
|
||||
|
||||
void pci_serial_init(void);
|
||||
|
||||
#endif // PCI_SERIAL_SERIAL_H_
|
||||
Reference in New Issue
Block a user