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