ncr53c500_pccard.c (146734) | ncr53c500_pccard.c (147580) |
---|---|
1/* $NecBSD: ncr53c500_pisa.c,v 1.28 1998/11/26 01:59:11 honda Exp $ */ 2/* $NetBSD$ */ 3 4/*- 5 * [Ported for FreeBSD] 6 * Copyright (c) 2000 7 * Noriaki Mitsunaga, Mitsuru Iwasaki and Takanori Watanabe. 8 * All rights reserved. --- 23 unchanged lines hidden (view full) --- 32 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 34 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 35 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 36 * POSSIBILITY OF SUCH DAMAGE. 37 */ 38 39#include <sys/cdefs.h> | 1/* $NecBSD: ncr53c500_pisa.c,v 1.28 1998/11/26 01:59:11 honda Exp $ */ 2/* $NetBSD$ */ 3 4/*- 5 * [Ported for FreeBSD] 6 * Copyright (c) 2000 7 * Noriaki Mitsunaga, Mitsuru Iwasaki and Takanori Watanabe. 8 * All rights reserved. --- 23 unchanged lines hidden (view full) --- 32 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 34 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 35 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 36 * POSSIBILITY OF SUCH DAMAGE. 37 */ 38 39#include <sys/cdefs.h> |
40__FBSDID("$FreeBSD: head/sys/dev/ncv/ncr53c500_pccard.c 146734 2005-05-29 04:42:30Z nyan $"); | 40__FBSDID("$FreeBSD: head/sys/dev/ncv/ncr53c500_pccard.c 147580 2005-06-24 14:36:54Z imp $"); |
41 42#include <sys/param.h> 43#include <sys/errno.h> 44#include <sys/kernel.h> 45#include <sys/malloc.h> 46#include <sys/systm.h> 47 48#include <machine/bus.h> --- 22 unchanged lines hidden (view full) --- 71static int ncvattach(DEVPORT_PDEVICE devi); 72 73static void ncv_card_unload(DEVPORT_PDEVICE); 74 75static const struct ncv_product { 76 struct pccard_product prod; 77 int flags; 78} ncv_products[] = { | 41 42#include <sys/param.h> 43#include <sys/errno.h> 44#include <sys/kernel.h> 45#include <sys/malloc.h> 46#include <sys/systm.h> 47 48#include <machine/bus.h> --- 22 unchanged lines hidden (view full) --- 71static int ncvattach(DEVPORT_PDEVICE devi); 72 73static void ncv_card_unload(DEVPORT_PDEVICE); 74 75static const struct ncv_product { 76 struct pccard_product prod; 77 int flags; 78} ncv_products[] = { |
79 { PCMCIA_CARD(EPSON, SC200, 0), 0}, 80 { PCMCIA_CARD(PANASONIC, KXLC002, 0), 0xb4d00000 }, 81 { PCMCIA_CARD(PANASONIC, KXLC003, 0), 0xb4d00000 }, /* untested */ 82 { PCMCIA_CARD(PANASONIC, KXLC004, 0), 0xb4d00100 }, 83 { PCMCIA_CARD(MACNICA, MPS100, 0), 0xb6250000 }, 84 { PCMCIA_CARD(MACNICA, MPS110, 0), 0 }, 85 { PCMCIA_CARD(NEC, PC9801N_J03R, 0), 0 }, 86 { PCMCIA_CARD(NEWMEDIA, BASICS_SCSI, 0), 0 }, 87 { PCMCIA_CARD(QLOGIC, PC05, 0), 0x84d00000 }, | 79 { PCMCIA_CARD(EPSON, SC200), 0}, 80 { PCMCIA_CARD(PANASONIC, KXLC002), 0xb4d00000 }, 81 { PCMCIA_CARD(PANASONIC, KXLC003), 0xb4d00000 }, /* untested */ 82 { PCMCIA_CARD(PANASONIC, KXLC004), 0xb4d00100 }, 83 { PCMCIA_CARD(MACNICA, MPS100), 0xb6250000 }, 84 { PCMCIA_CARD(MACNICA, MPS110), 0 }, 85 { PCMCIA_CARD(NEC, PC9801N_J03R), 0 }, 86 { PCMCIA_CARD(NEWMEDIA, BASICS_SCSI), 0 }, 87 { PCMCIA_CARD(QLOGIC, PC05), 0x84d00000 }, |
88#define FLAGS_REX5572 0x84d00000 | 88#define FLAGS_REX5572 0x84d00000 |
89 { PCMCIA_CARD(RATOC, REX5572, 0), FLAGS_REX5572 }, 90 { PCMCIA_CARD(RATOC, REX9530, 0), 0x84d00000 }, | 89 { PCMCIA_CARD(RATOC, REX5572), FLAGS_REX5572 }, 90 { PCMCIA_CARD(RATOC, REX9530), 0x84d00000 }, |
91 { { NULL }, 0 } 92}; 93 94/* 95 * Additional code for FreeBSD new-bus PCCard frontend 96 */ 97 98static void --- 269 unchanged lines hidden --- | 91 { { NULL }, 0 } 92}; 93 94/* 95 * Additional code for FreeBSD new-bus PCCard frontend 96 */ 97 98static void --- 269 unchanged lines hidden --- |