~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/drivers/ide/pdc4030.h

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  *  linux/drivers/ide/pdc4030.h
  3  *
  4  *  Copyright (C) 1995-1998  Linus Torvalds & authors
  5  */
  6 
  7 /*
  8  * Principal author: Peter Denison <peterd@pnd-pc.demon.co.uk>
  9  */
 10 
 11 #ifndef IDE_PROMISE_H
 12 #define IDE_PROMISE_H
 13 
 14 #define PROMISE_EXTENDED_COMMAND        0xF0
 15 #define PROMISE_READ                    0xF2
 16 #define PROMISE_WRITE                   0xF3
 17 /* Extended commands - main command code = 0xf0 */
 18 #define PROMISE_GET_CONFIG              0x10
 19 #define PROMISE_IDENTIFY                0x20
 20 
 21 struct translation_mode {
 22         u16     cyl;
 23         u8      head;
 24         u8      sect;
 25 };
 26 
 27 struct dc_ident {
 28         u8      type;
 29         u8      unknown1;
 30         u8      hw_revision;
 31         u8      firmware_major;
 32         u8      firmware_minor;
 33         u8      bios_address;
 34         u8      irq;
 35         u8      unknown2;
 36         u16     cache_mem;
 37         u16     unknown3;
 38         u8      id[2];
 39         u16     info;
 40         struct translation_mode current_tm[4];
 41         u8      pad[SECTOR_WORDS*4 - 32];
 42 };
 43 
 44 #endif IDE_PROMISE_H
 45 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.