187384Simp/*-
287384Simp * Copyright (c) 1995 Jean-Marc Zucconi
387384Simp * All rights reserved.
487384Simp *
587384Simp * Redistribution and use in source and binary forms, with or without
687384Simp * modification, are permitted provided that the following conditions
787384Simp * are met:
887384Simp * 1. Redistributions of source code must retain the above copyright
987384Simp *    notice, this list of conditions and the following disclaimer
1087384Simp *    in this position and unchanged.
1187384Simp * 2. Redistributions in binary form must reproduce the above copyright
1287384Simp *    notice, this list of conditions and the following disclaimer in the
1387384Simp *    documentation and/or other materials provided with the distribution.
1487384Simp * 3. The name of the author may not be used to endorse or promote products
1597748Sschweikh *    derived from this software without specific prior written permission
1687384Simp *
1787384Simp * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1887384Simp * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1987384Simp * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2087384Simp * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
2187384Simp * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2287384Simp * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2387384Simp * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2487384Simp * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2587384Simp * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2687384Simp * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2787384Simp *
2887384Simp */
2987384Simp
30119418Sobrien#include <sys/cdefs.h>
31119418Sobrien__FBSDID("$FreeBSD$");
32119418Sobrien
3387384Simp#include <sys/param.h>
3487384Simp#include <sys/systm.h>
3587384Simp#include <sys/kernel.h>
3687384Simp#include <sys/module.h>
3787384Simp#include <sys/bus.h>
3887384Simp#include <machine/bus.h>
3987384Simp#include <machine/resource.h>
4087384Simp#include <sys/rman.h>
4187384Simp#include <dev/joy/joyvar.h>
4287384Simp
4387384Simp#include <dev/pccard/pccardvar.h>
44129764Simp
45129740Simp#include "pccarddevs.h"
4687384Simp
4787384Simpstatic int
48150396Simpjoy_pccard_probe(device_t dev)
4987384Simp{
5087384Simp	/* For the moment, don't match anything :-) */
5187384Simp	return(ENXIO);
5287384Simp}
5387384Simp
5487384Simpstatic device_method_t joy_pccard_methods[] = {
55150396Simp	DEVMETHOD(device_probe,		joy_pccard_probe),
56150396Simp	DEVMETHOD(device_attach,	joy_attach),
5787384Simp	DEVMETHOD(device_detach,	joy_detach),
58150396Simp	{ 0, 0 }
5987384Simp};
6087384Simp
6187384Simpstatic driver_t joy_pccard_driver = {
6287384Simp    "joy",
6387384Simp    joy_pccard_methods,
6487384Simp    sizeof (struct joy_softc)
6587384Simp};
6687384Simp
6787384SimpDRIVER_MODULE(joy, pccard, joy_pccard_driver, joy_devclass, 0, 0);
68