1 /*
2  * hd64572.h	Description of the Hitachi HD64572 (SCA-II), valid for
3  * 		CPU modes 0 & 2.
4  *
5  * Author:	Ivan Passos <ivan.passos@cyclades.com>
6  *
7  * Copyright:   (c) 2000-2003 Cyclades Corp.
8  *
9  *	This program is free software; you can redistribute it and/or
10  *	modify it under the terms of the GNU General Public License
11  *	as published by the Free Software Foundation; either version
12  *	2 of the License, or (at your option) any later version.
13  *
14  */
15 
16 #ifndef __HD64572_H
17 #define __HD64572_H
18 
19 /* Illegal Access Register */
20 #define	ILAR	0x00
21 
22 /* Wait Controller Registers */
23 #define PABR0L	0x20	/* Physical Addr Boundary Register 0 L */
24 #define PABR0H	0x21	/* Physical Addr Boundary Register 0 H */
25 #define PABR1L	0x22	/* Physical Addr Boundary Register 1 L */
26 #define PABR1H	0x23	/* Physical Addr Boundary Register 1 H */
27 #define WCRL	0x24	/* Wait Control Register L */
28 #define WCRM	0x25	/* Wait Control Register M */
29 #define WCRH	0x26	/* Wait Control Register H */
30 
31 /* Interrupt Registers */
32 #define IVR	0x60	/* Interrupt Vector Register */
33 #define IMVR	0x64	/* Interrupt Modified Vector Register */
34 #define ITCR	0x68	/* Interrupt Control Register */
35 #define ISR0	0x6c	/* Interrupt Status Register 0 */
36 #define ISR1	0x70	/* Interrupt Status Register 1 */
37 #define IER0	0x74	/* Interrupt Enable Register 0 */
38 #define IER1	0x78	/* Interrupt Enable Register 1 */
39 
40 /* Register Access Macros (chan is 0 or 1 in _any_ case) */
41 #define	M_REG(reg, chan)	(reg + 0x80*chan)		/* MSCI */
42 #define	DRX_REG(reg, chan)	(reg + 0x40*chan)		/* DMA Rx */
43 #define	DTX_REG(reg, chan)	(reg + 0x20*(2*chan + 1))	/* DMA Tx */
44 #define	TRX_REG(reg, chan)	(reg + 0x20*chan)		/* Timer Rx */
45 #define	TTX_REG(reg, chan)	(reg + 0x10*(2*chan + 1))	/* Timer Tx */
46 #define	ST_REG(reg, chan)	(reg + 0x80*chan)		/* Status Cnt */
47 #define IR0_DRX(val, chan)	((val)<<(8*(chan)))		/* Int DMA Rx */
48 #define IR0_DTX(val, chan)	((val)<<(4*(2*chan + 1)))	/* Int DMA Tx */
49 #define IR0_M(val, chan)	((val)<<(8*(chan)))		/* Int MSCI */
50 
51 /* MSCI Channel Registers */
52 #define MSCI0_OFFSET 0x00
53 #define MSCI1_OFFSET 0x80
54 
55 #define MD0	0x138	/* Mode reg 0 */
56 #define MD1	0x139	/* Mode reg 1 */
57 #define MD2	0x13a	/* Mode reg 2 */
58 #define MD3	0x13b	/* Mode reg 3 */
59 #define CTL	0x130	/* Control reg */
60 #define RXS	0x13c	/* RX clock source */
61 #define TXS	0x13d	/* TX clock source */
62 #define EXS	0x13e	/* External clock input selection */
63 #define TMCT	0x144	/* Time constant (Tx) */
64 #define TMCR	0x145	/* Time constant (Rx) */
65 #define CMD	0x128	/* Command reg */
66 #define ST0	0x118	/* Status reg 0 */
67 #define ST1	0x119	/* Status reg 1 */
68 #define ST2	0x11a	/* Status reg 2 */
69 #define ST3	0x11b	/* Status reg 3 */
70 #define ST4	0x11c	/* Status reg 4 */
71 #define FST	0x11d	/* frame Status reg  */
72 #define IE0	0x120	/* Interrupt enable reg 0 */
73 #define IE1	0x121	/* Interrupt enable reg 1 */
74 #define IE2	0x122	/* Interrupt enable reg 2 */
75 #define IE4	0x124	/* Interrupt enable reg 4 */
76 #define FIE	0x125	/* Frame Interrupt enable reg  */
77 #define SA0	0x140	/* Syn Address reg 0 */
78 #define SA1	0x141	/* Syn Address reg 1 */
79 #define IDL	0x142	/* Idle register */
80 #define TRBL	0x100	/* TX/RX buffer reg L */
81 #define TRBK	0x101	/* TX/RX buffer reg K */
82 #define TRBJ	0x102	/* TX/RX buffer reg J */
83 #define TRBH	0x103	/* TX/RX buffer reg H */
84 #define TRC0	0x148	/* TX Ready control reg 0 */
85 #define TRC1	0x149	/* TX Ready control reg 1 */
86 #define RRC	0x14a	/* RX Ready control reg */
87 #define CST0	0x108	/* Current Status Register 0 */
88 #define CST1	0x109	/* Current Status Register 1 */
89 #define CST2	0x10a	/* Current Status Register 2 */
90 #define CST3	0x10b	/* Current Status Register 3 */
91 #define GPO	0x131	/* General Purpose Output Pin Ctl Reg */
92 #define TFS	0x14b	/* Tx Start Threshold Ctl Reg */
93 #define TFN	0x143	/* Inter-transmit-frame Time Fill Ctl Reg */
94 #define TBN	0x110	/* Tx Buffer Number Reg */
95 #define RBN	0x111	/* Rx Buffer Number Reg */
96 #define TNR0	0x150	/* Tx DMA Request Ctl Reg 0 */
97 #define TNR1	0x151	/* Tx DMA Request Ctl Reg 1 */
98 #define TCR	0x152	/* Tx DMA Critical Request Reg */
99 #define RNR	0x154	/* Rx DMA Request Ctl Reg */
100 #define RCR	0x156	/* Rx DMA Critical Request Reg */
101 
102 /* Timer Registers */
103 #define TIMER0RX_OFFSET 0x00
104 #define TIMER0TX_OFFSET 0x10
105 #define TIMER1RX_OFFSET 0x20
106 #define TIMER1TX_OFFSET 0x30
107 
108 #define TCNTL	0x200	/* Timer Upcounter L */
109 #define TCNTH	0x201	/* Timer Upcounter H */
110 #define TCONRL	0x204	/* Timer Constant Register L */
111 #define TCONRH	0x205	/* Timer Constant Register H */
112 #define TCSR	0x206	/* Timer Control/Status Register */
113 #define TEPR	0x207	/* Timer Expand Prescale Register */
114 
115 /* DMA registers */
116 #define PCR		0x40		/* DMA priority control reg */
117 #define DRR		0x44		/* DMA reset reg */
118 #define DMER		0x07		/* DMA Master Enable reg */
119 #define BTCR		0x08		/* Burst Tx Ctl Reg */
120 #define BOLR		0x0c		/* Back-off Length Reg */
121 #define DSR_RX(chan)	(0x48 + 2*chan)	/* DMA Status Reg (Rx) */
122 #define DSR_TX(chan)	(0x49 + 2*chan)	/* DMA Status Reg (Tx) */
123 #define DIR_RX(chan)	(0x4c + 2*chan)	/* DMA Interrupt Enable Reg (Rx) */
124 #define DIR_TX(chan)	(0x4d + 2*chan)	/* DMA Interrupt Enable Reg (Tx) */
125 #define FCT_RX(chan)	(0x50 + 2*chan)	/* Frame End Interrupt Counter (Rx) */
126 #define FCT_TX(chan)	(0x51 + 2*chan)	/* Frame End Interrupt Counter (Tx) */
127 #define DMR_RX(chan)	(0x54 + 2*chan)	/* DMA Mode Reg (Rx) */
128 #define DMR_TX(chan)	(0x55 + 2*chan)	/* DMA Mode Reg (Tx) */
129 #define DCR_RX(chan)	(0x58 + 2*chan)	/* DMA Command Reg (Rx) */
130 #define DCR_TX(chan)	(0x59 + 2*chan)	/* DMA Command Reg (Tx) */
131 
132 /* DMA Channel Registers */
133 #define DMAC0RX_OFFSET 0x00
134 #define DMAC0TX_OFFSET 0x20
135 #define DMAC1RX_OFFSET 0x40
136 #define DMAC1TX_OFFSET 0x60
137 
138 #define DARL	0x80	/* Dest Addr Register L (single-block, RX only) */
139 #define DARH	0x81	/* Dest Addr Register H (single-block, RX only) */
140 #define DARB	0x82	/* Dest Addr Register B (single-block, RX only) */
141 #define DARBH	0x83	/* Dest Addr Register BH (single-block, RX only) */
142 #define SARL	0x80	/* Source Addr Register L (single-block, TX only) */
143 #define SARH	0x81	/* Source Addr Register H (single-block, TX only) */
144 #define SARB	0x82	/* Source Addr Register B (single-block, TX only) */
145 #define DARBH	0x83	/* Source Addr Register BH (single-block, TX only) */
146 #define BARL	0x80	/* Buffer Addr Register L (chained-block) */
147 #define BARH	0x81	/* Buffer Addr Register H (chained-block) */
148 #define BARB	0x82	/* Buffer Addr Register B (chained-block) */
149 #define BARBH	0x83	/* Buffer Addr Register BH (chained-block) */
150 #define CDAL	0x84	/* Current Descriptor Addr Register L */
151 #define CDAH	0x85	/* Current Descriptor Addr Register H */
152 #define CDAB	0x86	/* Current Descriptor Addr Register B */
153 #define CDABH	0x87	/* Current Descriptor Addr Register BH */
154 #define EDAL	0x88	/* Error Descriptor Addr Register L */
155 #define EDAH	0x89	/* Error Descriptor Addr Register H */
156 #define EDAB	0x8a	/* Error Descriptor Addr Register B */
157 #define EDABH	0x8b	/* Error Descriptor Addr Register BH */
158 #define BFLL	0x90	/* RX Buffer Length L (only RX) */
159 #define BFLH	0x91	/* RX Buffer Length H (only RX) */
160 #define BCRL	0x8c	/* Byte Count Register L */
161 #define BCRH	0x8d	/* Byte Count Register H */
162 
163 /* Block Descriptor Structure */
164 typedef struct {
165 	unsigned long	next;		/* pointer to next block descriptor */
166 	unsigned long	ptbuf;		/* buffer pointer */
167 	unsigned short	len;		/* data length */
168 	unsigned char	status;		/* status */
169 	unsigned char	filler[5];	/* alignment filler (16 bytes) */
170 } pcsca_bd_t;
171 
172 typedef struct {
173 	u32 cp;			/* pointer to next block descriptor */
174 	u32 bp;			/* buffer pointer */
175 	u16 len;		/* data length */
176 	u8 stat;		/* status */
177 	u8 unused;		/* pads to 4-byte boundary */
178 }pkt_desc;
179 
180 
181 /*
182 	Descriptor Status definitions:
183 
184 	Bit	Transmission	Reception
185 
186 	7	EOM		EOM
187 	6	-		Short Frame
188 	5	-		Abort
189 	4	-		Residual bit
190 	3	Underrun	Overrun
191 	2	-		CRC
192 	1	Ownership	Ownership
193 	0	EOT		-
194 */
195 #define DST_EOT		0x01	/* End of transmit command */
196 #define DST_OSB		0x02	/* Ownership bit */
197 #define DST_CRC		0x04	/* CRC Error */
198 #define DST_OVR		0x08	/* Overrun */
199 #define DST_UDR		0x08	/* Underrun */
200 #define DST_RBIT	0x10	/* Residual bit */
201 #define DST_ABT		0x20	/* Abort */
202 #define DST_SHRT	0x40	/* Short Frame  */
203 #define DST_EOM		0x80	/* End of Message  */
204 
205 /* Packet Descriptor Status bits */
206 
207 #define ST_TX_EOM     0x80	/* End of frame */
208 #define ST_TX_UNDRRUN 0x08
209 #define ST_TX_OWNRSHP 0x02
210 #define ST_TX_EOT     0x01	/* End of transmition */
211 
212 #define ST_RX_EOM     0x80	/* End of frame */
213 #define ST_RX_SHORT   0x40	/* Short frame */
214 #define ST_RX_ABORT   0x20	/* Abort */
215 #define ST_RX_RESBIT  0x10	/* Residual bit */
216 #define ST_RX_OVERRUN 0x08	/* Overrun */
217 #define ST_RX_CRC     0x04	/* CRC */
218 #define ST_RX_OWNRSHP 0x02
219 
220 #define ST_ERROR_MASK 0x7C
221 
222 /* Status Counter Registers */
223 #define CMCR	0x158	/* Counter Master Ctl Reg */
224 #define TECNTL	0x160	/* Tx EOM Counter L */
225 #define TECNTM	0x161	/* Tx EOM Counter M */
226 #define TECNTH	0x162	/* Tx EOM Counter H */
227 #define TECCR	0x163	/* Tx EOM Counter Ctl Reg */
228 #define URCNTL	0x164	/* Underrun Counter L */
229 #define URCNTH	0x165	/* Underrun Counter H */
230 #define URCCR	0x167	/* Underrun Counter Ctl Reg */
231 #define RECNTL	0x168	/* Rx EOM Counter L */
232 #define RECNTM	0x169	/* Rx EOM Counter M */
233 #define RECNTH	0x16a	/* Rx EOM Counter H */
234 #define RECCR	0x16b	/* Rx EOM Counter Ctl Reg */
235 #define ORCNTL	0x16c	/* Overrun Counter L */
236 #define ORCNTH	0x16d	/* Overrun Counter H */
237 #define ORCCR	0x16f	/* Overrun Counter Ctl Reg */
238 #define CECNTL	0x170	/* CRC Counter L */
239 #define CECNTH	0x171	/* CRC Counter H */
240 #define CECCR	0x173	/* CRC Counter Ctl Reg */
241 #define ABCNTL	0x174	/* Abort frame Counter L */
242 #define ABCNTH	0x175	/* Abort frame Counter H */
243 #define ABCCR	0x177	/* Abort frame Counter Ctl Reg */
244 #define SHCNTL	0x178	/* Short frame Counter L */
245 #define SHCNTH	0x179	/* Short frame Counter H */
246 #define SHCCR	0x17b	/* Short frame Counter Ctl Reg */
247 #define RSCNTL	0x17c	/* Residual bit Counter L */
248 #define RSCNTH	0x17d	/* Residual bit Counter H */
249 #define RSCCR	0x17f	/* Residual bit Counter Ctl Reg */
250 
251 /* Register Programming Constants */
252 
253 #define IR0_DMIC	0x00000001
254 #define IR0_DMIB	0x00000002
255 #define IR0_DMIA	0x00000004
256 #define IR0_EFT		0x00000008
257 #define IR0_DMAREQ	0x00010000
258 #define IR0_TXINT	0x00020000
259 #define IR0_RXINTB	0x00040000
260 #define IR0_RXINTA	0x00080000
261 #define IR0_TXRDY	0x00100000
262 #define IR0_RXRDY	0x00200000
263 
264 #define MD0_CRC16_0	0x00
265 #define MD0_CRC16_1	0x01
266 #define MD0_CRC32	0x02
267 #define MD0_CRC_CCITT	0x03
268 #define MD0_CRCC0	0x04
269 #define MD0_CRCC1	0x08
270 #define MD0_AUTO_ENA	0x10
271 #define MD0_ASYNC	0x00
272 #define MD0_BY_MSYNC	0x20
273 #define MD0_BY_BISYNC	0x40
274 #define MD0_BY_EXT	0x60
275 #define MD0_BIT_SYNC	0x80
276 #define MD0_TRANSP	0xc0
277 
278 #define MD0_HDLC        0x80	/* Bit-sync HDLC mode */
279 
280 #define MD0_CRC_NONE	0x00
281 #define MD0_CRC_16_0	0x04
282 #define MD0_CRC_16	0x05
283 #define MD0_CRC_ITU32	0x06
284 #define MD0_CRC_ITU	0x07
285 
286 #define MD1_NOADDR	0x00
287 #define MD1_SADDR1	0x40
288 #define MD1_SADDR2	0x80
289 #define MD1_DADDR	0xc0
290 
291 #define MD2_NRZI_IEEE	0x40
292 #define MD2_MANCHESTER	0x80
293 #define MD2_FM_MARK	0xA0
294 #define MD2_FM_SPACE	0xC0
295 #define MD2_LOOPBACK	0x03	/* Local data Loopback */
296 
297 #define MD2_F_DUPLEX	0x00
298 #define MD2_AUTO_ECHO	0x01
299 #define MD2_LOOP_HI_Z	0x02
300 #define MD2_LOOP_MIR	0x03
301 #define MD2_ADPLL_X8	0x00
302 #define MD2_ADPLL_X16	0x08
303 #define MD2_ADPLL_X32	0x10
304 #define MD2_NRZ		0x00
305 #define MD2_NRZI	0x20
306 #define MD2_NRZ_IEEE	0x40
307 #define MD2_MANCH	0x00
308 #define MD2_FM1		0x20
309 #define MD2_FM0		0x40
310 #define MD2_FM		0x80
311 
312 #define CTL_RTS		0x01
313 #define CTL_DTR		0x02
314 #define CTL_SYN		0x04
315 #define CTL_IDLC	0x10
316 #define CTL_UDRNC	0x20
317 #define CTL_URSKP	0x40
318 #define CTL_URCT	0x80
319 
320 #define CTL_NORTS	0x01
321 #define CTL_NODTR	0x02
322 #define CTL_IDLE	0x10
323 
324 #define	RXS_BR0		0x01
325 #define	RXS_BR1		0x02
326 #define	RXS_BR2		0x04
327 #define	RXS_BR3		0x08
328 #define	RXS_ECLK	0x00
329 #define	RXS_ECLK_NS	0x20
330 #define	RXS_IBRG	0x40
331 #define	RXS_PLL1	0x50
332 #define	RXS_PLL2	0x60
333 #define	RXS_PLL3	0x70
334 #define	RXS_DRTXC	0x80
335 
336 #define	TXS_BR0		0x01
337 #define	TXS_BR1		0x02
338 #define	TXS_BR2		0x04
339 #define	TXS_BR3		0x08
340 #define	TXS_ECLK	0x00
341 #define	TXS_IBRG	0x40
342 #define	TXS_RCLK	0x60
343 #define	TXS_DTRXC	0x80
344 
345 #define	EXS_RES0	0x01
346 #define	EXS_RES1	0x02
347 #define	EXS_RES2	0x04
348 #define	EXS_TES0	0x10
349 #define	EXS_TES1	0x20
350 #define	EXS_TES2	0x40
351 
352 #define CLK_BRG_MASK	0x0F
353 #define CLK_PIN_OUT	0x80
354 #define CLK_LINE    	0x00	/* clock line input */
355 #define CLK_BRG     	0x40	/* internal baud rate generator */
356 #define CLK_TX_RXCLK	0x60	/* TX clock from RX clock */
357 
358 #define CMD_RX_RST	0x11
359 #define CMD_RX_ENA	0x12
360 #define CMD_RX_DIS	0x13
361 #define CMD_RX_CRC_INIT	0x14
362 #define CMD_RX_MSG_REJ	0x15
363 #define CMD_RX_MP_SRCH	0x16
364 #define CMD_RX_CRC_EXC	0x17
365 #define CMD_RX_CRC_FRC	0x18
366 #define CMD_TX_RST	0x01
367 #define CMD_TX_ENA	0x02
368 #define CMD_TX_DISA	0x03
369 #define CMD_TX_CRC_INIT	0x04
370 #define CMD_TX_CRC_EXC	0x05
371 #define CMD_TX_EOM	0x06
372 #define CMD_TX_ABORT	0x07
373 #define CMD_TX_MP_ON	0x08
374 #define CMD_TX_BUF_CLR	0x09
375 #define CMD_TX_DISB	0x0b
376 #define CMD_CH_RST	0x21
377 #define CMD_SRCH_MODE	0x31
378 #define CMD_NOP		0x00
379 
380 #define CMD_RESET	0x21
381 #define CMD_TX_ENABLE	0x02
382 #define CMD_RX_ENABLE	0x12
383 
384 #define ST0_RXRDY	0x01
385 #define ST0_TXRDY	0x02
386 #define ST0_RXINTB	0x20
387 #define ST0_RXINTA	0x40
388 #define ST0_TXINT	0x80
389 
390 #define ST1_IDLE	0x01
391 #define ST1_ABORT	0x02
392 #define ST1_CDCD	0x04
393 #define ST1_CCTS	0x08
394 #define ST1_SYN_FLAG	0x10
395 #define ST1_CLMD	0x20
396 #define ST1_TXIDLE	0x40
397 #define ST1_UDRN	0x80
398 
399 #define ST2_CRCE	0x04
400 #define ST2_ONRN	0x08
401 #define ST2_RBIT	0x10
402 #define ST2_ABORT	0x20
403 #define ST2_SHORT	0x40
404 #define ST2_EOM		0x80
405 
406 #define ST3_RX_ENA	0x01
407 #define ST3_TX_ENA	0x02
408 #define ST3_DCD		0x04
409 #define ST3_CTS		0x08
410 #define ST3_SRCH_MODE	0x10
411 #define ST3_SLOOP	0x20
412 #define ST3_GPI		0x80
413 
414 #define ST4_RDNR	0x01
415 #define ST4_RDCR	0x02
416 #define ST4_TDNR	0x04
417 #define ST4_TDCR	0x08
418 #define ST4_OCLM	0x20
419 #define ST4_CFT		0x40
420 #define ST4_CGPI	0x80
421 
422 #define FST_CRCEF	0x04
423 #define FST_OVRNF	0x08
424 #define FST_RBIF	0x10
425 #define FST_ABTF	0x20
426 #define FST_SHRTF	0x40
427 #define FST_EOMF	0x80
428 
429 #define IE0_RXRDY	0x01
430 #define IE0_TXRDY	0x02
431 #define IE0_RXINTB	0x20
432 #define IE0_RXINTA	0x40
433 #define IE0_TXINT	0x80
434 #define IE0_UDRN	0x00008000 /* TX underrun MSCI interrupt enable */
435 #define IE0_CDCD	0x00000400 /* CD level change interrupt enable */
436 
437 #define IE1_IDLD	0x01
438 #define IE1_ABTD	0x02
439 #define IE1_CDCD	0x04
440 #define IE1_CCTS	0x08
441 #define IE1_SYNCD	0x10
442 #define IE1_CLMD	0x20
443 #define IE1_IDL		0x40
444 #define IE1_UDRN	0x80
445 
446 #define IE2_CRCE	0x04
447 #define IE2_OVRN	0x08
448 #define IE2_RBIT	0x10
449 #define IE2_ABT		0x20
450 #define IE2_SHRT	0x40
451 #define IE2_EOM		0x80
452 
453 #define IE4_RDNR	0x01
454 #define IE4_RDCR	0x02
455 #define IE4_TDNR	0x04
456 #define IE4_TDCR	0x08
457 #define IE4_OCLM	0x20
458 #define IE4_CFT		0x40
459 #define IE4_CGPI	0x80
460 
461 #define FIE_CRCEF	0x04
462 #define FIE_OVRNF	0x08
463 #define FIE_RBIF	0x10
464 #define FIE_ABTF	0x20
465 #define FIE_SHRTF	0x40
466 #define FIE_EOMF	0x80
467 
468 #define DSR_DWE		0x01
469 #define DSR_DE		0x02
470 #define DSR_REF		0x04
471 #define DSR_UDRF	0x04
472 #define DSR_COA		0x08
473 #define DSR_COF		0x10
474 #define DSR_BOF		0x20
475 #define DSR_EOM		0x40
476 #define DSR_EOT		0x80
477 
478 #define DIR_REF		0x04
479 #define DIR_UDRF	0x04
480 #define DIR_COA		0x08
481 #define DIR_COF		0x10
482 #define DIR_BOF		0x20
483 #define DIR_EOM		0x40
484 #define DIR_EOT		0x80
485 
486 #define DIR_REFE	0x04
487 #define DIR_UDRFE	0x04
488 #define DIR_COAE	0x08
489 #define DIR_COFE	0x10
490 #define DIR_BOFE	0x20
491 #define DIR_EOME	0x40
492 #define DIR_EOTE	0x80
493 
494 #define DMR_CNTE	0x02
495 #define DMR_NF		0x04
496 #define DMR_SEOME	0x08
497 #define DMR_TMOD	0x10
498 
499 #define DMER_DME        0x80	/* DMA Master Enable */
500 
501 #define DCR_SW_ABT	0x01
502 #define DCR_FCT_CLR	0x02
503 
504 #define DCR_ABORT	0x01
505 #define DCR_CLEAR_EOF	0x02
506 
507 #define PCR_COTE	0x80
508 #define PCR_PR0		0x01
509 #define PCR_PR1		0x02
510 #define PCR_PR2		0x04
511 #define PCR_CCC		0x08
512 #define PCR_BRC		0x10
513 #define PCR_OSB		0x40
514 #define PCR_BURST	0x80
515 
516 #endif /* (__HD64572_H) */
517