fork of PCE focusing on macplus, supporting DaynaPort SCSI network emulation
at master 39 lines 1.8 kB view raw
1/***************************************************************************** 2 * pce * 3 *****************************************************************************/ 4 5/***************************************************************************** 6 * File name: src/lib/iniata.h * 7 * Created: 2006-12-16 by Hampa Hug <hampa@hampa.ch> * 8 * Copyright: (C) 2006-2011 Hampa Hug <hampa@hampa.ch> * 9 *****************************************************************************/ 10 11/***************************************************************************** 12 * This program is free software. You can redistribute it and / or modify it * 13 * under the terms of the GNU General Public License version 2 as published * 14 * by the Free Software Foundation. * 15 * * 16 * This program is distributed in the hope that it will be useful, but * 17 * WITHOUT ANY WARRANTY, without even the implied warranty of * 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General * 19 * Public License for more details. * 20 *****************************************************************************/ 21 22 23#ifndef PCE_LIB_INIATA_H 24#define PCE_LIB_INIATA_H 1 25 26 27#include <libini/libini.h> 28 29#include <devices/ata.h> 30#include <devices/pci-ata.h> 31 32#include <drivers/block/block.h> 33 34 35int ini_get_ata_chn (ata_chn_t *ata, disks_t *dsks, ini_sct_t *sct, unsigned idx); 36int ini_get_pci_ata (pci_ata_t *pciata, disks_t *dsks, ini_sct_t *sct); 37 38 39#endif