* This file contains the driver for an XT hard disk controller (at least the DTC 5150X) for Linux.
* This file contains the driver for an XT hard disk controller
* (at least the DTC 5150X) for Linux.
*
*
* Author: Pat Mackinlay, smackinla@cc.curtin.edu.au
* Author: Pat Mackinlay, pat@it.com.au
* Date: 29/09/92
* Date: 29/09/92
*
*
* Revised: 01/01/93, ...
* Revised: 01/01/93, ...
*
*
* Ref: DTC 5150X Controller Specification (thanks to Kevin Fowler, kevinf@agora.rain.com)
* Ref: DTC 5150X Controller Specification (thanks to Kevin Fowler,
* Also thanks to: Salvador Abreu, Dave Thaler, Risto Kankkunen and Wim Van Dorst.
* kevinf@agora.rain.com)
* Also thanks to: Salvador Abreu, Dave Thaler, Risto Kankkunen and
* Wim Van Dorst.
*
* Revised: 04/04/94 by Risto Kankkunen
* Moved the detection code from xd_init() to xd_geninit() as it needed
* interrupts enabled and Linus didn't want to enable them in that first
* phase. xd_geninit() is the place to do these kinds of things anyway,
* he says.
*/
*/
...
@@ -53,8 +62,8 @@ XD_INFO xd_info[XD_MAXDRIVES];
...
@@ -53,8 +62,8 @@ XD_INFO xd_info[XD_MAXDRIVES];
should be able to detect your drive's geometry from this info. (eg: xd=0,5,0x320,3 is the "standard"). */
should be able to detect your drive's geometry from this info. (eg: xd=0,5,0x320,3 is the "standard"). */
staticXD_SIGNATURExd_sigs[]={
staticXD_SIGNATURExd_sigs[]={
{0x0000,"Override geometry handler",NULL,xd_override_init_drive,"n unknown"},/* Pat Mackinlay, smackinla@cc.curtin.edu.au (pat@gu.uwa.edu.au) */
{0x0000,"Override geometry handler",NULL,xd_override_init_drive,"n unknown"},/* Pat Mackinlay, pat@it.com.au */
{0x000B,"CXD23A Not an IBM ROM (C)Copyright Data Technology Corp 12/03/88",xd_dtc_init_controller,xd_dtc_init_drive," DTC 5150X"},/* Pat Mackinlay, smackinla@cc.curtin.edu.au (pat@gu.uwa.edu.au) */
{0x000B,"CXD23A Not an IBM ROM (C)Copyright Data Technology Corp 12/03/88",xd_dtc_init_controller,xd_dtc_init_drive," DTC 5150X"},/* Pat Mackinlay, pat@it.com.au */
{0x0008,"07/15/86 (C) Copyright 1986 Western Digital Corp",xd_wd_init_controller,xd_wd_init_drive," Western Digital 1002AWX1"},/* Ian Justman, citrus!ianj@csusac.ecs.csus.edu */
{0x0008,"07/15/86 (C) Copyright 1986 Western Digital Corp",xd_wd_init_controller,xd_wd_init_drive," Western Digital 1002AWX1"},/* Ian Justman, citrus!ianj@csusac.ecs.csus.edu */
{0x0008,"06/24/88 (C) Copyright 1988 Western Digital Corp",xd_wd_init_controller,xd_wd_init_drive," Western Digital 1004A27X"},/* Dave Thaler, thalerd@engin.umich.edu */
{0x0008,"06/24/88 (C) Copyright 1988 Western Digital Corp",xd_wd_init_controller,xd_wd_init_drive," Western Digital 1004A27X"},/* Dave Thaler, thalerd@engin.umich.edu */
{0x0008,"06/24/88(C) Copyright 1988 Western Digital Corp.",xd_wd_init_controller,xd_wd_init_drive," Western Digital WDXT-GEN2"},/* Dan Newcombe, newcombe@aa.csc.peachnet.edu */
{0x0008,"06/24/88(C) Copyright 1988 Western Digital Corp.",xd_wd_init_controller,xd_wd_init_drive," Western Digital WDXT-GEN2"},/* Dan Newcombe, newcombe@aa.csc.peachnet.edu */