Deleted Added
full compact
pcii.c (141398) pcii.c (141423)
1/*-
2 * Copyright (c) 2005 Poul-Henning Kamp <phk@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

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

32 * PCIIA compatible cards.
33 *
34 * Tested and known working:
35 * "B&C Microsystems PC488A-0"
36 *
37 */
38
39#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2005 Poul-Henning Kamp <phk@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

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

32 * PCIIA compatible cards.
33 *
34 * Tested and known working:
35 * "B&C Microsystems PC488A-0"
36 *
37 */
38
39#include <sys/cdefs.h>
40__FBSDID("$FreeBSD: head/sys/dev/ieee488/pcii.c 141398 2005-02-06 15:22:23Z phk $");
40__FBSDID("$FreeBSD: head/sys/dev/ieee488/pcii.c 141423 2005-02-06 22:45:12Z phk $");
41
42#include <sys/param.h>
43#include <sys/systm.h>
44#include <sys/lock.h>
45#include <sys/mutex.h>
46#include <sys/kernel.h>
47#include <sys/module.h>
48#include <sys/bus.h>

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

74 DEVMETHOD(device_resume, bus_generic_resume),
75
76 { 0, 0 }
77};
78
79static driver_t pcii_driver = {
80 "pcii",
81 pcii_methods,
41
42#include <sys/param.h>
43#include <sys/systm.h>
44#include <sys/lock.h>
45#include <sys/mutex.h>
46#include <sys/kernel.h>
47#include <sys/module.h>
48#include <sys/bus.h>

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

74 DEVMETHOD(device_resume, bus_generic_resume),
75
76 { 0, 0 }
77};
78
79static driver_t pcii_driver = {
80 "pcii",
81 pcii_methods,
82 sizeof(struct pcii_softc *),
82 sizeof(struct pcii_softc),
83};
84
85static int
86pcii_probe(device_t dev)
87{
88 struct resource *port;
89 int rid;
90 u_long start, count;

--- 101 unchanged lines hidden ---
83};
84
85static int
86pcii_probe(device_t dev)
87{
88 struct resource *port;
89 int rid;
90 u_long start, count;

--- 101 unchanged lines hidden ---