Indentation fix, cleanup.
[AROS.git] / arch / all-hosted / devs / hostdisk / hostdisk_host.c
blob3e2920dda54c56a171f46edb9d7b63b64cf85ef3
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 /*
7 * This file is just a dummy nonfunctional template. These functions
8 * need host-specific implementations.
9 */
11 #include <devices/trackdisk.h>
12 #include <exec/errors.h>
14 #include "hostdisk_host.h"
15 #include "hostdisk_device.h"
17 ULONG Host_Open(struct unit *Unit)
19 return IOERR_NOCMD;
22 void Host_Close(struct unit *Unit)
27 LONG Host_Read(struct unit *Unit, APTR buf, ULONG size, ULONG *ioerr)
29 *ioerr = IOERR_NOCMD;
30 return -1;
33 LONG Host_Write(struct unit *Unit, APTR buf, ULONG size, ULONG *ioerr)
35 *ioerr = IOERR_NOCMD;
36 return -1;
39 ULONG Host_Seek(struct unit *Unit, ULONG pos)
41 return IOERR_NOCMD;
44 ULONG Host_Seek64(struct unit *Unit, ULONG pos, ULONG pos_hi)
46 return IOERR_NOCMD;
49 ULONG Host_GetGeometry(struct unit *Unit, struct DriveGeometry *dg)
51 return IOERR_NOCMD;
54 int Host_ProbeGeometry(struct HostDiskBase *hdskBase, char *name, struct DriveGeometry *dg)
56 return -1;