pccard_cis.c (82781) | pccard_cis.c (86272) |
---|---|
1/* $NetBSD: pcmcia_cis.c,v 1.10 1998/12/29 09:03:15 marc Exp $ */ | 1/* $NetBSD: pcmcia_cis.c,v 1.10 1998/12/29 09:03:15 marc Exp $ */ |
2/* $FreeBSD: head/sys/dev/pccard/pccard_cis.c 82781 2001-09-02 06:37:41Z shiba $ */ | 2/* $FreeBSD: head/sys/dev/pccard/pccard_cis.c 86272 2001-11-11 20:15:47Z imp $ */ |
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 --- 73 unchanged lines hidden (view full) --- 84 85 state.card->error = 0; 86 state.card->cis1_major = -1; 87 state.card->cis1_minor = -1; 88 state.card->cis1_info[0] = NULL; 89 state.card->cis1_info[1] = NULL; 90 state.card->cis1_info[2] = NULL; 91 state.card->cis1_info[3] = NULL; | 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 --- 73 unchanged lines hidden (view full) --- 84 85 state.card->error = 0; 86 state.card->cis1_major = -1; 87 state.card->cis1_minor = -1; 88 state.card->cis1_info[0] = NULL; 89 state.card->cis1_info[1] = NULL; 90 state.card->cis1_info[2] = NULL; 91 state.card->cis1_info[3] = NULL; |
92 state.card->manufacturer = PCCARD_VENDOR_INVALID; 93 state.card->product = PCCARD_PRODUCT_INVALID; | 92 state.card->manufacturer = PCMCIA_VENDOR_INVALID; 93 state.card->product = PCMCIA_PRODUCT_INVALID; |
94 STAILQ_INIT(&state.card->pf_head); 95 96 state.pf = NULL; 97 98 if (pccard_scan_cis(sc->dev, pccard_parse_cis_tuple, 99 &state) == -1) 100 state.card->error++; 101} --- 1151 unchanged lines hidden --- | 94 STAILQ_INIT(&state.card->pf_head); 95 96 state.pf = NULL; 97 98 if (pccard_scan_cis(sc->dev, pccard_parse_cis_tuple, 99 &state) == -1) 100 state.card->error++; 101} --- 1151 unchanged lines hidden --- |