vgabios: Use vesa style memory model flags in stdvga code.
[seabios.git] / src / ata.h
index 94f60ee67270db094e2c0d19c98153e0a24c98aa..cfc61088ffdbb7631453e0b52de72a22e40b9658 100644 (file)
--- a/src/ata.h
+++ b/src/ata.h
@@ -12,6 +12,7 @@ struct ata_channel_s {
     u8  irq;
     u8  chanid;
     int pci_bdf;
+    struct pci_device *pci_tmp;
 };
 
 struct atadrive_s {
@@ -21,6 +22,8 @@ struct atadrive_s {
 };
 
 // ata.c
+char *ata_extract_model(char *model, u32 size, u16 *buffer);
+int ata_extract_version(u16 *buffer);
 int cdrom_read(struct disk_op_s *op);
 int atapi_cmd_data(struct disk_op_s *op, void *cdbcmd, u16 blocksize);
 void ata_setup(void);