2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
5 Desc: CardResetRemove() function.
9 #include "card_intern.h"
11 AROS_LH2(ULONG
, CardResetRemove
,
12 AROS_LHA(struct CardHandle
*, handle
, A1
),
13 AROS_LHA(ULONG
, flag
, D0
),
14 struct CardResource
*, CardResource
, 7, Card
)
18 volatile struct GayleIO
*gio
= (struct GayleIO
*)GAYLE_BASE
;
20 CARDDEBUG(bug("CardResetRemove(%p,%08x)\n", handle
, flag
));
25 CardResource
->resetberr
= flag
? GAYLE_IRQ_RESET
: 0;
26 gio
->intreq
= (0xff & ~(GAYLE_IRQ_RESET
| GAYLE_IRQ_BERR
)) | CardResource
->resetberr
;