fdc.c (79730) | fdc.c (82555) |
---|---|
1/* 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Don Ahn. 7 * 8 * Libretto PCMCIA floppy support by David Horwitt (dhorwitt@ucsd.edu) --- 36 unchanged lines hidden (view full) --- 45 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 46 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 47 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 48 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 49 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 50 * SUCH DAMAGE. 51 * 52 * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 | 1/* 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Don Ahn. 7 * 8 * Libretto PCMCIA floppy support by David Horwitt (dhorwitt@ucsd.edu) --- 36 unchanged lines hidden (view full) --- 45 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 46 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 47 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 48 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 49 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 50 * SUCH DAMAGE. 51 * 52 * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 |
53 * $FreeBSD: head/sys/dev/fdc/fdc.c 79730 2001-07-14 20:28:02Z joerg $ | 53 * $FreeBSD: head/sys/dev/fdc/fdc.c 82555 2001-08-30 09:17:03Z msmith $ |
54 */ 55 56#include "opt_fdc.h" 57#include "card.h" 58 59#include <sys/param.h> 60#include <sys/systm.h> 61#include <sys/bio.h> --- 1000 unchanged lines hidden (view full) --- 1062 1063static driver_t fdc_driver = { 1064 "fdc", 1065 fdc_methods, 1066 sizeof(struct fdc_data) 1067}; 1068 1069DRIVER_MODULE(fdc, isa, fdc_driver, fdc_devclass, 0, 0); | 54 */ 55 56#include "opt_fdc.h" 57#include "card.h" 58 59#include <sys/param.h> 60#include <sys/systm.h> 61#include <sys/bio.h> --- 1000 unchanged lines hidden (view full) --- 1062 1063static driver_t fdc_driver = { 1064 "fdc", 1065 fdc_methods, 1066 sizeof(struct fdc_data) 1067}; 1068 1069DRIVER_MODULE(fdc, isa, fdc_driver, fdc_devclass, 0, 0); |
1070DRIVER_MODULE(fdc, acpi, fdc_driver, fdc_devclass, 0, 0); |
|
1070 1071#if NCARD > 0 1072 1073static device_method_t fdc_pccard_methods[] = { 1074 /* Device interface */ 1075 DEVMETHOD(device_probe, fdc_pccard_probe), 1076 DEVMETHOD(device_attach, fdc_attach), 1077 DEVMETHOD(device_detach, fdc_detach), --- 1518 unchanged lines hidden --- | 1071 1072#if NCARD > 0 1073 1074static device_method_t fdc_pccard_methods[] = { 1075 /* Device interface */ 1076 DEVMETHOD(device_probe, fdc_pccard_probe), 1077 DEVMETHOD(device_attach, fdc_attach), 1078 DEVMETHOD(device_detach, fdc_detach), --- 1518 unchanged lines hidden --- |