Deleted Added
full compact
pccard.c (53873) pccard.c (54073)
1/* $NetBSD: pcmcia.c,v 1.13 1998/12/24 04:51:59 marc Exp $ */
1/* $NetBSD: pcmcia.c,v 1.13 1998/12/24 04:51:59 marc Exp $ */
2/* $FreeBSD: head/sys/dev/pccard/pccard.c 53873 1999-11-29 06:42:55Z imp $ */
2/* $FreeBSD: head/sys/dev/pccard/pccard.c 54073 1999-12-03 08:41:24Z mdodd $ */
3
4/*
5 * Copyright (c) 1997 Marc Horowitz. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright

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

834#define PCCARD_NPORT 2
835#define PCCARD_NMEM 5
836#define PCCARD_NIRQ 1
837#define PCCARD_NDRQ 0
838
839static int
840pccard_add_children(device_t dev, int busno)
841{
3
4/*
5 * Copyright (c) 1997 Marc Horowitz. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright

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

834#define PCCARD_NPORT 2
835#define PCCARD_NMEM 5
836#define PCCARD_NIRQ 1
837#define PCCARD_NDRQ 0
838
839static int
840pccard_add_children(device_t dev, int busno)
841{
842 device_add_child(dev, NULL, -1, NULL);
842 device_add_child(dev, NULL, -1);
843 return 0;
844}
845
846static int
847pccard_probe(device_t dev)
848{
849 device_set_desc(dev, "PC Card bus -- newconfig version");
850 return pccard_add_children(dev, device_get_unit(dev));

--- 148 unchanged lines hidden ---
843 return 0;
844}
845
846static int
847pccard_probe(device_t dev)
848{
849 device_set_desc(dev, "PC Card bus -- newconfig version");
850 return pccard_add_children(dev, device_get_unit(dev));

--- 148 unchanged lines hidden ---