Deleted Added
full compact
27c27
< * $FreeBSD: head/sys/dev/twe/twereg.h 76340 2001-05-07 21:46:44Z msmith $
---
> * $FreeBSD: head/sys/dev/twe/twereg.h 91790 2002-03-07 09:55:41Z msmith $
49a50,51
> #define TWE_CONTROL_CLEAR_PARITY_ERROR 0x00800000
> #define TWE_CONTROL_CLEAR_PCI_ABORT 0x00100000
102a105,106
> #define TWE_PCI_CLEAR_PARITY_ERROR 0xc100
> #define TWE_PCI_CLEAR_PCI_ABORT 0x2000
125a130,131
> #define TWE_OP_ATA_PASSTHROUGH 0x1e
> #define TWE_OP_CMD_WITH_DATA 0x1f
140a147,148
> #define TWE_MAX_ATA_SGL_LENGTH 60
> #define TWE_MAX_PASSTHROUGH 4096
274a283,302
> u_int16_t param;
> u_int16_t features;
> u_int16_t sector_count;
> u_int16_t sector_num;
> u_int16_t cylinder_lo;
> u_int16_t cylinder_hi;
> u_int8_t drive_head;
> u_int8_t command;
> TWE_SG_Entry sgl[TWE_MAX_ATA_SGL_LENGTH];
> } TWE_Command_ATA __attribute__ ((packed));
>
> typedef struct
> {
> u_int8_t opcode:5;
> u_int8_t sgl_offset:3;
> u_int8_t size;
> u_int8_t request_id;
> u_int8_t unit:4;
> u_int8_t host_id:4;
> u_int8_t status;
292a321
> TWE_Command_ATA ata;
462a492
>