forwarding an update to acpica in preparation of using newer code. It also fixes...
[AROS.git] / rom / disk / freeunit.c
blobd6e1ecdaecae0a48e6c9824ad40acc076c949396
1 /*
2 Copyright © 2010, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: FreeUnit() function.
6 Lang: english
7 */
9 #include <proto/disk.h>
10 #include <resources/disk.h>
12 AROS_LH1(void, FreeUnit,
13 AROS_LHA(LONG, unitNum, D0),
14 struct DiscResource *, DiskBase, 2, Disk)
16 AROS_LIBFUNC_INIT
18 DiskBase->dr_Flags &= ~(1 << unitNum);
20 AROS_LIBFUNC_EXIT