Search
lxdream.org :: lxdream :: r253:1ca882a0e076
lxdream 0.9.1
released Jun 29
Download Now
changeset253:1ca882a0e076
parent252:cfd0ec3bfeec
child254:7c9e34c37670
authornkeynes
dateThu Dec 21 10:15:02 2006 +0000 (13 years ago)
Add reset error and fix BADREAD error code
src/gdrom/packet.h
1.1 --- a/src/gdrom/packet.h Thu Dec 21 10:14:24 2006 +0000
1.2 +++ b/src/gdrom/packet.h Thu Dec 21 10:15:02 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: packet.h,v 1.5 2006-12-19 09:52:56 nkeynes Exp $
1.6 + * $Id: packet.h,v 1.6 2006-12-21 10:15:02 nkeynes Exp $
1.7 *
1.8 * This file defines the command codes and any other flags used by the
1.9 * GD-Rom ATAPI packet commands.
1.10 @@ -61,8 +61,9 @@
1.11 #define PKT_ERR_NODISC 0x3A02
1.12 #define PKT_ERR_BADCMD 0x2005
1.13 #define PKT_ERR_BADFIELD 0x2405
1.14 -#define PKT_ERR_BADREAD 0x0030
1.15 +#define PKT_ERR_BADREAD 0x3002
1.16 #define PKT_ERR_BADREADMODE 0x6405 /* Illegal mode for this track */
1.17 +#define PKT_ERR_RESET 0x2906
1.18
1.19 #define IDE_READ_MODE1 0x20
1.20 #define IDE_READ_RAW 0x30
.