|
|
1.1 ! root 1: /* ! 2: * Configurable information for "at" (ST506-compatible) device driver. ! 3: */ ! 4: ! 5: #define __KERNEL__ 1 ! 6: ! 7: #include <sys/hdioctl.h> ! 8: #include "conf.h" ! 9: ! 10: #define _TAG(tag) ! 11: ! 12: /* ! 13: * ATSECS is number of seconds to wait for an expected interrupt. ! 14: * ATSREG needs to be 3F6 for most new IDE drives; needs to be ! 15: * 1F7 for Perstor controllers and some old IDE drives. ! 16: * Either value works with most drives. ! 17: */ ! 18: ! 19: int ATSECS = 6; ! 20: int ATSREG = 0x3F6; ! 21: ! 22: struct hdparm_s atparm[N_ATDRV] = { ! 23: _TAG(AT0) _HDPARMS(0,0,0,0,0), ! 24: _TAG(AT1) _HDPARMS(0,0,0,0,0), ! 25: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.