Lines Matching +full:secondary +full:- +full:device
1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
48 #include <dev/ata/ata-all.h>
55 * Define the iobus ata bus attachment. This creates a pseudo-bus that
56 * the ATA device can be attached to
67 /* Device interface */
143 * The reg array for the PSIM ata device has 6 start/size entries: in ata_iobus_alloc_resource()
144 * 0 - unused in ata_iobus_alloc_resource()
145 * 1/2/3 - unused in ata_iobus_alloc_resource()
146 * 4/5/6 - primary command in ata_iobus_alloc_resource()
147 * 7/8/9 - secondary command in ata_iobus_alloc_resource()
148 * 10/11/12 - primary control in ata_iobus_alloc_resource()
149 * 13/14/15 - secondary control in ata_iobus_alloc_resource()
150 * 16/17/18 - primary/secondary dma registers, unimplemented in ata_iobus_alloc_resource()
159 end = start + ATA_IOSIZE - 1; in ata_iobus_alloc_resource()
169 end = start + ATA_CTLIOSIZE - 1; in ata_iobus_alloc_resource()
202 * Define the actual ATA device. This is a sub-bus to the ata-iobus layer
210 /* Device interface */
235 ch->unit = 0; in ata_iobus_sub_probe()
236 ch->flags = (ATA_USE_16BIT|ATA_NO_SLAVE); in ata_iobus_sub_probe()