Deleted Added
full compact
ata-isa.c (230132) ata-isa.c (249213)
1/*-
2 * Copyright (c) 1998 - 2008 S��ren Schmidt <sos@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1998 - 2008 S��ren Schmidt <sos@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/dev/ata/ata-isa.c 230132 2012-01-15 13:23:18Z uqs $");
28__FBSDID("$FreeBSD: head/sys/dev/ata/ata-isa.c 249213 2013-04-06 19:12:49Z marius $");
29
29
30#include "opt_ata.h"
31#include <sys/param.h>
32#include <sys/systm.h>
33#include <sys/ata.h>
34#include <sys/kernel.h>
35#include <sys/module.h>
36#include <sys/bus.h>
37#include <sys/malloc.h>
38#include <sys/sema.h>

--- 151 unchanged lines hidden (view full) ---

190static device_method_t ata_isa_methods[] = {
191 /* device interface */
192 DEVMETHOD(device_probe, ata_isa_probe),
193 DEVMETHOD(device_attach, ata_isa_attach),
194 DEVMETHOD(device_detach, ata_isa_detach),
195 DEVMETHOD(device_suspend, ata_isa_suspend),
196 DEVMETHOD(device_resume, ata_isa_resume),
197
30#include <sys/param.h>
31#include <sys/systm.h>
32#include <sys/ata.h>
33#include <sys/kernel.h>
34#include <sys/module.h>
35#include <sys/bus.h>
36#include <sys/malloc.h>
37#include <sys/sema.h>

--- 151 unchanged lines hidden (view full) ---

189static device_method_t ata_isa_methods[] = {
190 /* device interface */
191 DEVMETHOD(device_probe, ata_isa_probe),
192 DEVMETHOD(device_attach, ata_isa_attach),
193 DEVMETHOD(device_detach, ata_isa_detach),
194 DEVMETHOD(device_suspend, ata_isa_suspend),
195 DEVMETHOD(device_resume, ata_isa_resume),
196
198 { 0, 0 }
197 DEVMETHOD_END
199};
200
201static driver_t ata_isa_driver = {
202 "ata",
203 ata_isa_methods,
204 sizeof(struct ata_channel),
205};
206
198};
199
200static driver_t ata_isa_driver = {
201 "ata",
202 ata_isa_methods,
203 sizeof(struct ata_channel),
204};
205
207DRIVER_MODULE(ata, isa, ata_isa_driver, ata_devclass, 0, 0);
206DRIVER_MODULE(ata, isa, ata_isa_driver, ata_devclass, NULL, NULL);
208MODULE_DEPEND(ata, ata, 1, 1, 1);
207MODULE_DEPEND(ata, ata, 1, 1, 1);