1 /*
2 * sbpcd.h Specify interface address and interface type here.
3 */
4
5 /*
6 * the definitions for the first controller can get overridden by
7 * the kernel command line ("lilo boot option").
8 * Examples:
9 * sbpcd=0x230,SoundBlaster
10 * or
11 * sbpcd=0x300,LaserMate
12 * or
13 * sbpcd=0x330,SPEA
14 *
15 * These strings are case sensitive !!!
16 */
17
18 /*
19 * put your CDROM port base address into CDROM_PORT
20 * and specify the type of your interface in SBPRO.
21 *
22 * SBPRO addresses typically are 0x0230 (=0x220+0x10), 0x0250, ...
23 * LASERMATE (CI-101P, WDH-7001C) addresses typically are 0x0300, 0x0310, ...
24 * SPEA addresses are 0x320, 0x330, 0x340, 0x350
25 * there are some soundcards on the market with 0x0630, 0x0650, ...
26 *
27 * example: if your SBPRO audio address is 0x220, specify 0x230.
28 *
29 *
30 * set SBPRO to 1 for "true" SoundBlaster card
31 * set SBPRO to 0 for "poor" (no sound) interface cards
32 * and for "compatible" soundcards.
33 * set SBPRO to 2 for the SPEA Media FX card
34 *
35 * most "compatible" sound boards like Galaxy need to set SBPRO to 0 !!!
36 * if SBPRO gets set wrong, the drive will get found - but any
37 * data access will give errors (audio access will work).
38 * The OmniCD interface card from CreativeLabs needs SBPRO 1.
39 *
40 * mail to emoenke@gwdg.de if your "compatible" card needs SBPRO 1
41 * (currently I do not know any "compatible" with SBPRO 1)
42 * then I can include better information with the next release.
43 */
44 #if !(SBPCD_ISSUE-1) /* first (or if you have only one) interface board: */
45 #define CDROM_PORT 0x0340
46 #define SBPRO 0
47 #endif
48
49 /*
50 * If you have a "compatible" soundcard of type "SBPRO 0" or "SBPRO 2",
51 * enter your sound card's base address here if you want sbpcd to turn
52 * the CD sound channels on.
53 *
54 * Example: #define SOUND_BASE 0x220 enables the sound card's CD channels
55 * #define SOUND_BASE 0 leaves the soundcard untouched
56 */
57 #define SOUND_BASE 0x220
58
59 /* ignore the rest if you have only one interface board & driver */
60
61 #if !(SBPCD_ISSUE-2) /* second interface board: */
62 #define CDROM_PORT 0x0320
63 #define SBPRO 0
64 #endif
65 #if !(SBPCD_ISSUE-3) /* third interface board: */
66 #define CDROM_PORT 0x0630
67 #define SBPRO 1
68 #endif
69 #if !(SBPCD_ISSUE-4) /* fourth interface board: */
70 #define CDROM_PORT 0x0634
71 #define SBPRO 0
72 #endif
73
74 /*==========================================================================*/
75 /*==========================================================================*/
76 /*
77 * nothing to change below here if you are not experimenting
78 */
79 #ifndef _LINUX_SBPCD_H
80
81 #define _LINUX_SBPCD_H
82
83 /*==========================================================================*/
84 /*==========================================================================*/
85 /*
86 * DDI interface definitions
87 * "invented" by Fred N. van Kempen..
88 */
89 #define DDIOCSDBG 0x9000
90 #define DPRINTF(x) sbpcd_dprintf x
91
92 /*==========================================================================*/
93 /*
94 * Debug output levels
95 */
96 #define DBG_INF 1 /* necessary information */
97 #define DBG_BSZ 2 /* BLOCK_SIZE trace */
98 #define DBG_REA 3 /* "read" status trace */
99 #define DBG_CHK 4 /* "media check" trace */
100 #define DBG_TIM 5 /* datarate timer test */
101 #define DBG_INI 6 /* initialization trace */
102 #define DBG_TOC 7 /* tell TocEntry values */
103 #define DBG_IOC 8 /* ioctl trace */
104 #define DBG_STA 9 /* "ResponseStatus" trace */
105 #define DBG_ERR 10 /* "xx_ReadError" trace */
106 #define DBG_CMD 11 /* "cmd_out" trace */
107 #define DBG_WRN 12 /* give explanation before auto-probing */
108 #define DBG_MUL 13 /* multi session code test */
109 #define DBG_ID 14 /* "drive_id !=0" test code */
110 #define DBG_IOX 15 /* some special information */
111 #define DBG_DID 16 /* drive ID test */
112 #define DBG_RES 17 /* drive reset info */
113 #define DBG_SPI 18 /* SpinUp test */
114 #define DBG_IOS 19 /* ioctl trace: "subchannel" */
115 #define DBG_IO2 20 /* ioctl trace: general */
116 #define DBG_UPC 21 /* show UPC information */
117 #define DBG_XA 22 /* XA mode debugging */
118 #define DBG_LCK 23 /* door (un)lock info */
119 #define DBG_SQ 24 /* dump SubQ frame */
120 #define DBG_AUD 25 /* "read audio" debugging */
121 #define DBG_SEQ 26 /* Sequoia interface configuration trace */
122 #define DBG_LCS 27 /* Longshine LCS-7260 debugging trace */
123 #define DBG_TEA 28 /* TEAC CD-55A debugging trace */
124 #define DBG_CD2 29 /* MKE CD200 debugging trace */
125 #define DBG_000 30 /* unnecessary information */
126
127 /*==========================================================================*/
128 /*==========================================================================*/
129
130 /*
131 * bits of flags_cmd_out:
132 */
133 #define f_respo3 0x100
134 #define f_putcmd 0x80
135 #define f_respo2 0x40
136 #define f_lopsta 0x20
137 #define f_getsta 0x10
138 #define f_ResponseStatus 0x08
139 #define f_obey_p_check 0x04
140 #define f_bit1 0x02
141 #define f_wait_if_busy 0x01
142
143 /*
144 * diskstate_flags:
145 */
146 #define x80_bit 0x80
147 #define upc_bit 0x40
148 #define volume_bit 0x20
149 #define toc_bit 0x10
150 #define multisession_bit 0x08
151 #define cd_size_bit 0x04
152 #define subq_bit 0x02
153 #define frame_size_bit 0x01
154
155 /*
156 * disk states (bits of diskstate_flags):
157 */
158 #define upc_valid (DriveStruct[d].diskstate_flags&upc_bit)
159 #define volume_valid (DriveStruct[d].diskstate_flags&volume_bit)
160 #define toc_valid (DriveStruct[d].diskstate_flags&toc_bit)
161 #define cd_size_valid (DriveStruct[d].diskstate_flags&cd_size_bit)
162 #define subq_valid (DriveStruct[d].diskstate_flags&subq_bit)
163 #define frame_size_valid (DriveStruct[d].diskstate_flags&frame_size_bit)
164
165 /*
166 * bits of the status_byte (result of xx_ReadStatus):
167 */
168 #define p_door_closed 0x80
169 #define p_caddy_in 0x40
170 #define p_spinning 0x20
171 #define p_check 0x10
172 #define p_busy_new 0x08
173 #define p_door_locked 0x04
174 #define p_bit_1 0x02 /* hopefully unused now */
175 #define p_lcs_door_locked 0x02 /* new use of old bit */
176 #define p_disk_ok 0x01
177 #define p_lcs_door_closed 0x01 /* new use of old bit */
178 /*
179 * "old" drives status result bits:
180 */
181 #define p_caddin_old 0x40
182 #define p_success_old 0x08
183 #define p_busy_old 0x04
184
185 /*
186 * "generation specific" defs of the status_byte:
187 */
188 #define p0_door_closed 0x80
189 #define p0_caddy_in 0x40
190 #define p0_spinning 0x20
191 #define p0_check 0x10
192 #define p0_success 0x08 /* unused */
193 #define p0_busy 0x04
194 #define p0_bit_1 0x02 /* unused */
195 #define p0_disk_ok 0x01
196
197 #define p1_door_closed 0x80
198 #define p1_disk_in 0x40
199 #define p1_spinning 0x20
200 #define p1_check 0x10
201 #define p1_busy 0x08
202 #define p1_door_locked 0x04
203 #define p1_bit_1 0x02 /* unused */
204 #define p1_disk_ok 0x01
205
206 #define p2_disk_ok 0x80
207 #define p2_door_locked 0x40
208 #define p2_spinning 0x20
209 #define p2_busy2 0x10
210 #define p2_busy1 0x08
211 #define p2_door_closed 0x04
212 #define p2_disk_in 0x02
213 #define p2_check 0x01
214
215 /*
216 * used drive states:
217 */
218 #define st_door_closed (DriveStruct[d].status_byte&p_door_closed)
219 #define st_caddy_in (DriveStruct[d].status_byte&p_caddy_in)
220 #define st_spinning (DriveStruct[d].status_byte&p_spinning)
221 #define st_check (DriveStruct[d].status_byte&p_check)
222 #define st_busy (DriveStruct[d].status_byte&p_busy_new)
223 #define st_door_locked (DriveStruct[d].status_byte&p_door_locked)
224 #define st_diskok (DriveStruct[d].status_byte&p_disk_ok)
225
226 /*
227 * bits of the CDi_status register:
228 */
229 #define s_not_result_ready 0x04 /* 0: "result ready" */
230 #define s_not_data_ready 0x02 /* 0: "data ready" */
231 #define s_attention 0x01 /* 1: "attention required" */
232 /*
233 * usable as:
234 */
235 #define DRV_ATTN ((inb(CDi_status)&s_attention)!=0)
236 #define DATA_READY ((inb(CDi_status)&s_not_data_ready)==0)
237 #define RESULT_READY ((inb(CDi_status)&s_not_result_ready)==0)
238
239 /*
240 * drive types (firmware versions):
241 */
242 #define drv_fam0 0x08 /* CR-52x family */
243 #define drv_199 (drv_fam0+0x01) /* <200 */
244 #define drv_200 (drv_fam0+0x02) /* <201 */
245 #define drv_201 (drv_fam0+0x03) /* <210 */
246 #define drv_210 (drv_fam0+0x04) /* <211 */
247 #define drv_211 (drv_fam0+0x05) /* <300 */
248 #define drv_300 (drv_fam0+0x06) /* >=300 */
249
250 #define drv_famL 0x10 /* Longshine family */
251 #define drv_260 (drv_famL+0x01) /* LCS-7260 */
252
253 #define drv_fam1 0x20 /* CR-56x family */
254 #define drv_099 (drv_fam1+0x01) /* <100 */
255 #define drv_100 (drv_fam1+0x02) /* >=100 */
256
257 #define drv_famT 0x40 /* TEAC CD-55A */
258 #define drv_fam2 0x80 /* CD200 family */
259
260 #define fam0_drive (DriveStruct[d].drv_type&drv_fam0)
261 #define famL_drive (DriveStruct[d].drv_type&drv_famL)
262 #define fam1_drive (DriveStruct[d].drv_type&drv_fam1)
263 #define famT_drive (DriveStruct[d].drv_type&drv_famT)
264 #define fam2_drive (DriveStruct[d].drv_type&drv_fam2)
265 #define fam0L_drive (DriveStruct[d].drv_type&(drv_fam0|drv_famL))
266 #define fam1L_drive (DriveStruct[d].drv_type&(drv_fam1|drv_famL))
267 #define fam01_drive (DriveStruct[d].drv_type&(drv_fam0|drv_fam1))
268
269 /*
270 * audio states:
271 */
272 #define audio_playing 2
273 #define audio_pausing 1
274
275 /*
276 * drv_pattern, drv_options:
277 */
278 #define speed_auto 0x80
279 #define speed_300 0x40
280 #define speed_150 0x20
281 #define audio_mono 0x04
282
283 /*
284 * values of cmd_type (0 else):
285 */
286 #define READ_M1 0x01 /* "data mode 1": 2048 bytes per frame */
287 #define READ_M2 0x02 /* "data mode 2": 12+2048+280 bytes per frame */
288 #define READ_SC 0x04 /* "subchannel info": 96 bytes per frame */
289 #define READ_AU 0x08 /* "audio frame": 2352 bytes per frame */
290
291 /*
292 * sense_byte:
293 *
294 * values: 00
295 * 01
296 * 81
297 * 82 "raw audio" mode
298 * xx from infobuf[0] after 85 00 00 00 00 00 00
299 */
300
301 /* audio status (bin) */
302 #define aud_00 0x00 /* Audio status byte not supported or not valid */
303 #define audx11 0x0b /* Audio play operation in progress */
304 #define audx12 0x0c /* Audio play operation paused */
305 #define audx13 0x0d /* Audio play operation successfully completed */
306 #define audx14 0x0e /* Audio play operation stopped due to error */
307 #define audx15 0x0f /* No current audio status to return */
308
309 /* audio status (bcd) */
310 #define aud_11 0x11 /* Audio play operation in progress */
311 #define aud_12 0x12 /* Audio play operation paused */
312 #define aud_13 0x13 /* Audio play operation successfully completed */
313 #define aud_14 0x14 /* Audio play operation stopped due to error */
314 #define aud_15 0x15 /* No current audio status to return */
315
316
317 /*
318 * highest allowed drive number (MINOR+1)
319 */
320 #define NR_SBPCD 4
321
322 /*
323 * we try to never disable interrupts - seems to work
324 */
325 #define SBPCD_DIS_IRQ 0
326
327 /*
328 * "write byte to port"
329 */
330 #define OUT(x,y) outb(y,x)
331
332 /*
333 * use "REP INSB" for strobing the data in:
334 */
335 #define READ_DATA(port, buf, nr) insb(port, buf, nr)
336
337 /*==========================================================================*/
338
339 #define MIXER_CD_Volume 0x28 /* internal SB Pro register address */
340
341 /*==========================================================================*/
342 /*
343 * Creative Labs Programmers did this:
344 */
345 #define MAX_TRACKS 120 /* why more than 99? */
346
347 /*==========================================================================*/
348 /*
349 * To make conversions easier (machine dependent!)
350 */
351 typedef union _msf
352 {
353 u_int n;
354 u_char c[4];
355 }
356 MSF;
357
358 typedef union _blk
359 {
360 u_int n;
361 u_char c[4];
362 }
363 BLK;
364
365 /*==========================================================================*/
366
367 /*============================================================================
368 ==============================================================================
369
370 COMMAND SET of "old" drives like CR-521, CR-522
371 (the CR-562 family is different):
372
373 No. Command Code
374 --------------------------------------------
375
376 Drive Commands:
377 1 Seek 01
378 2 Read Data 02
379 3 Read XA-Data 03
380 4 Read Header 04
381 5 Spin Up 05
382 6 Spin Down 06
383 7 Diagnostic 07
384 8 Read UPC 08
385 9 Read ISRC 09
386 10 Play Audio 0A
387 11 Play Audio MSF 0B
388 12 Play Audio Track/Index 0C
389
390 Status Commands:
391 13 Read Status 81
392 14 Read Error 82
393 15 Read Drive Version 83
394 16 Mode Select 84
395 17 Mode Sense 85
396 18 Set XA Parameter 86
397 19 Read XA Parameter 87
398 20 Read Capacity 88
399 21 Read SUB_Q 89
400 22 Read Disc Code 8A
401 23 Read Disc Information 8B
402 24 Read TOC 8C
403 25 Pause/Resume 8D
404 26 Read Packet 8E
405 27 Read Path Check 00
406
407
408 all numbers (lba, msf-bin, msf-bcd, counts) to transfer high byte first
409
410 mnemo 7-byte command #bytes response (r0...rn)
411 ________ ____________________ ____
412
413 Read Status:
414 status: 81. (1) one-byte command, gives the main
415 status byte
416 Read Error:
417 check1: 82 00 00 00 00 00 00. (6) r1: audio status
418
419 Read Packet:
420 check2: 8e xx 00 00 00 00 00. (xx) gets xx bytes response, relating
421 to commands 01 04 05 07 08 09
422
423 Play Audio:
424 play: 0a ll-bb-aa nn-nn-nn. (0) play audio, ll-bb-aa: starting block (lba),
425 nn-nn-nn: #blocks
426 Play Audio MSF:
427 0b mm-ss-ff mm-ss-ff (0) play audio from/to
428
429 Play Audio Track/Index:
430 0c ...
431
432 Pause/Resume:
433 pause: 8d pr 00 00 00 00 00. (0) pause (pr=00)
434 resume (pr=80) audio playing
435
436 Mode Select:
437 84 00 nn-nn ??-?? 00 (0) nn-nn: 2048 or 2340
438 possibly defines transfer size
439
440 set_vol: 84 83 00 00 sw le 00. (0) sw(itch): lrxxxxxx (off=1)
441 le(vel): min=0, max=FF, else half
442 (firmware 2.11)
443
444 Mode Sense:
445 get_vol: 85 03 00 00 00 00 00. (2) tell current audio volume setting
446
447 Read Disc Information:
448 tocdesc: 8b 00 00 00 00 00 00. (6) read the toc descriptor ("msf-bin"-format)
449
450 Read TOC:
451 tocent: 8c fl nn 00 00 00 00. (8) read toc entry #nn
452 (fl=0:"lba"-, =2:"msf-bin"-format)
453
454 Read Capacity:
455 capacit: 88 00 00 00 00 00 00. (5) "read CD-ROM capacity"
456
457
458 Read Path Check:
459 ping: 00 00 00 00 00 00 00. (2) r0=AA, r1=55
460 ("ping" if the drive is connected)
461
462 Read Drive Version:
463 ident: 83 00 00 00 00 00 00. (12) gives "MATSHITAn.nn"
464 (n.nn = 2.01, 2.11., 3.00, ...)
465
466 Seek:
467 seek: 01 00 ll-bb-aa 00 00. (0)
468 seek: 01 02 mm-ss-ff 00 00. (0)
469
470 Read Data:
471 read: 02 xx-xx-xx nn-nn fl. (??) read nn-nn blocks of 2048 bytes,
472 starting at block xx-xx-xx
473 fl=0: "lba"-, =2:"msf-bcd"-coded xx-xx-xx
474
475 Read XA-Data:
476 read: 03 xx-xx-xx nn-nn fl. (??) read nn-nn blocks of 2340 bytes,
477 starting at block xx-xx-xx
478 fl=0: "lba"-, =2:"msf-bcd"-coded xx-xx-xx
479
480 Read SUB_Q:
481 89 fl 00 00 00 00 00. (13) r0: audio status, r4-r7: lba/msf,
482 fl=0: "lba", fl=2: "msf"
483
484 Read Disc Code:
485 8a 00 00 00 00 00 00. (14) possibly extended "check condition"-info
486
487 Read Header:
488 04 00 ll-bb-aa 00 00. (0) 4 bytes response with "check2"
489 04 02 mm-ss-ff 00 00. (0) 4 bytes response with "check2"
490
491 Spin Up:
492 05 00 ll-bb-aa 00 00. (0) possibly implies a "seek"
493
494 Spin Down:
495 06 ...
496
497 Diagnostic:
498 07 00 ll-bb-aa 00 00. (2) 2 bytes response with "check2"
499 07 02 mm-ss-ff 00 00. (2) 2 bytes response with "check2"
500
501 Read UPC:
502 08 00 ll-bb-aa 00 00. (16)
503 08 02 mm-ss-ff 00 00. (16)
504
505 Read ISRC:
506 09 00 ll-bb-aa 00 00. (15) 15 bytes response with "check2"
507 09 02 mm-ss-ff 00 00. (15) 15 bytes response with "check2"
508
509 Set XA Parameter:
510 86 ...
511
512 Read XA Parameter:
513 87 ...
514
515 ==============================================================================
516 ============================================================================*/
517
518 /*
519 * commands
520 *
521 * CR-52x: CMD0_
522 * CR-56x: CMD1_
523 * CD200: CMD2_
524 * LCS-7260: CMDL_
525 * TEAC CD-55A: CMDT_
526 */
527 #define CMD1_RESET 0x0a
528 #define CMD2_RESET 0x01
529 #define CMDT_RESET 0xc0
530 #define CMD1_LOCK_CTL 0x0c
531 #define CMD2_LOCK_CTL 0x1e
532 #define CMDL_LOCK_CTL 0x0e
533 #define CMDT_LOCK_CTL 0x1e
534 #define CMD1_TRAY_CTL 0x07
535 #define CMD2_TRAY_CTL 0x1b
536 #define CMDL_TRAY_CTL 0x0d
537 #define CMDT_TRAY_CTL 0x1b
538 #define CMD1_MULTISESS 0x8d
539 #define CMDL_MULTISESS 0x8c
540 #define CMD1_SUBCHANINF 0x11
541 #define CMD2_SUBCHANINF 0x
542 #define CMD2_x02 0x02
543 #define CMD1_x08 0x08
544 #define CMD2_x08 0x08
545 #define CMDT_x08 0x08
546 #define CMD2_SETSPEED 0xda
547
548 #define CMD0_PATH_CHECK 0x00
549 #define CMD1_PATH_CHECK 0x00
550 #define CMD2_PATH_CHECK 0x
551 #define CMDL_PATH_CHECK 0x00
552 #define CMD0_SEEK 0x01
553 #define CMD1_SEEK 0x01
554 #define CMD2_SEEK 0x2b
555 #define CMDL_SEEK 0x01
556 #define CMDT_SEEK 0x2b
557 #define CMD0_READ 0x02
558 #define CMD1_READ 0x10
559 #define CMD2_READ 0x28
560 #define CMDL_READ 0x02
561 #define CMDT_READ 0x28
562 #define CMD0_READ_XA 0x03
563 #define CMD2_READ_XA 0xd4
564 #define CMDL_READ_XA 0x03 /* really ?? */
565 #define CMD0_READ_HEAD 0x04
566 #define CMD0_SPINUP 0x05
567 #define CMD1_SPINUP 0x02
568 #define CMD2_SPINUP CMD2_TRAY_CTL
569 #define CMDL_SPINUP 0x05
570 #define CMD0_SPINDOWN 0x06 /* really??? */
571 #define CMD1_SPINDOWN 0x06
572 #define CMD2_SPINDOWN CMD2_TRAY_CTL
573 #define CMDL_SPINDOWN 0x0d
574 #define CMD0_DIAG 0x07
575 #define CMD0_READ_UPC 0x08
576 #define CMD1_READ_UPC 0x88
577 #define CMD2_READ_UPC 0x
578 #define CMDL_READ_UPC 0x08
579 #define CMD0_READ_ISRC 0x09
580 #define CMD0_PLAY 0x0a
581 #define CMD1_PLAY 0x
582 #define CMD2_PLAY 0x
583 #define CMDL_PLAY 0x0a
584 #define CMD0_PLAY_MSF 0x0b
585 #define CMD1_PLAY_MSF 0x0e
586 #define CMD2_PLAY_MSF 0x47
587 #define CMDL_PLAY_MSF 0x
588 #define CMDT_PLAY_MSF 0x47
589 #define CMD0_PLAY_TI 0x0c
590 #define CMD0_STATUS 0x81
591 #define CMD1_STATUS 0x05
592 #define CMD2_STATUS 0x00
593 #define CMDL_STATUS 0x81
594 #define CMDT_STATUS 0x00
595 #define CMD0_READ_ERR 0x82
596 #define CMD1_READ_ERR 0x82
597 #define CMD2_READ_ERR 0x03
598 #define CMDL_READ_ERR 0x82
599 #define CMDT_READ_ERR 0x03 /* get audio status */
600 #define CMD0_READ_VER 0x83
601 #define CMD1_READ_VER 0x83
602 #define CMD2_READ_VER 0x12
603 #define CMDT_READ_VER 0x12 /* ??? (unused) */
604 #define CMDL_READ_VER 0x83
605 #define CMD0_SETMODE 0x84
606 #define CMD1_SETMODE 0x09
607 #define CMD2_SETMODE 0x55
608 #define CMDL_SETMODE 0x84
609 #define CMDT_SETMODE 0x55
610 #define CMD0_GETMODE 0x85
611 #define CMD1_GETMODE 0x84
612 #define CMD2_GETMODE 0x5a
613 #define CMDL_GETMODE 0x85
614 #define CMDT_GETMODE 0x5a
615 #define CMD0_SET_XA 0x86
616 #define CMD0_GET_XA 0x87
617 #define CMD0_CAPACITY 0x88
618 #define CMD1_CAPACITY 0x85
619 #define CMD2_CAPACITY 0x25
620 #define CMDL_CAPACITY 0x88
621 #define CMD0_READSUBQ 0x89
622 #define CMD1_READSUBQ 0x87
623 #define CMD2_READSUBQ 0x42
624 #define CMDL_READSUBQ 0x89
625 #define CMDT_READSUBQ 0x42
626 #define CMD0_DISKCODE 0x8a
627 #define CMD0_DISKINFO 0x8b
628 #define CMD1_DISKINFO 0x8b
629 #define CMD2_DISKINFO 0x43
630 #define CMDL_DISKINFO 0x8b
631 #define CMDT_DISKINFO 0x43
632 #define CMD0_READTOC 0x8c
633 #define CMD1_READTOC 0x8c
634 #define CMD2_READTOC 0x
635 #define CMDL_READTOC 0x8c
636 #define CMD0_PAU_RES 0x8d
637 #define CMD1_PAU_RES 0x0d
638 #define CMD2_PAU_RES 0x4b
639 #define CMDL_PAU_RES 0x8d
640 #define CMDT_PAU_RES 0x4b
641 #define CMD0_PACKET 0x8e
642 #define CMD1_PACKET 0x8e
643 #define CMD2_PACKET 0x
644 #define CMDL_PACKET 0x8e
645
646 /*==========================================================================*/
647 /*==========================================================================*/
648 #endif _LINUX_SBPCD_H