Home | History | Annotate | Line # | Download | only in pci
pciide_svwsata_reg.h revision 1.1
      1 /*	$OpenBSD: pciide_svwsata_reg.h,v 1.4 2006/02/10 21:45:41 kettenis Exp $	*/
      2 
      3 /*
      4  * Copyright (c) 2005 Mark Kettenis
      5  *
      6  * Permission to use, copy, modify, and distribute this software for any
      7  * purpose with or without fee is hereby granted, provided that the above
      8  * copyright notice and this permission notice appear in all copies.
      9  *
     10  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
     11  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
     12  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
     13  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
     14  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
     15  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
     16  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
     17  */
     18 
     19 #ifndef _DEV_PCI_PCIIDE_SVWSATA_REG_H_
     20 #define _DEV_PCI_PCIIDE_SVWSATA_REG_H_
     21 
     22 struct pciide_svwsata {
     23 	bus_space_tag_t		ba5_st;
     24 	bus_space_handle_t	ba5_sh;
     25 };
     26 
     27 #define SVWSATA_TF0		0x00
     28 #define SVWSATA_TF8		0x20
     29 
     30 #define SVWSATA_DMA		0x30
     31 
     32 #define SVWSATA_SSTATUS		0x40
     33 #define SVWSATA_SERROR		0x44
     34 #define SVWSATA_SCONTROL	0x48
     35 
     36 #define SVWSATA_SICR1		0x80
     37 #define SVWSATA_SICR2		0x84
     38 #define SVWSATA_SIM		0x88
     39 
     40 #endif	/* !_DEV_PCI_PCIIDE_SVWSATA_REG_H_ */
     41