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