pccard_cis_quirks.c (59389) | pccard_cis_quirks.c (64850) |
---|---|
1/* $NetBSD: pcmcia_cis_quirks.c,v 1.5 1999/10/11 17:50:21 thorpej Exp $ */ | 1/* $NetBSD: pcmcia_cis_quirks.c,v 1.5 1999/10/11 17:50:21 thorpej Exp $ */ |
2/* $FreeBSD: head/sys/dev/pccard/pccard_cis_quirks.c 59389 2000-04-19 08:31:21Z imp $ */ | 2/* $FreeBSD: head/sys/dev/pccard/pccard_cis_quirks.c 64850 2000-08-19 19:22:04Z imp $ */ |
3 4#define PCCARDDEBUG 5 6/* 7 * Copyright (c) 1998 Marc Horowitz. All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions --- 169 unchanged lines hidden (view full) --- 180 &pccard_sveclancard_func0, &pccard_sveclancard_func0_cfe0 }, 181}; 182 183static int n_pccard_cis_quirks = 184 sizeof(pccard_cis_quirks)/sizeof(pccard_cis_quirks[0]); 185 186void pccard_check_cis_quirks(device_t dev) 187{ | 3 4#define PCCARDDEBUG 5 6/* 7 * Copyright (c) 1998 Marc Horowitz. All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions --- 169 unchanged lines hidden (view full) --- 180 &pccard_sveclancard_func0, &pccard_sveclancard_func0_cfe0 }, 181}; 182 183static int n_pccard_cis_quirks = 184 sizeof(pccard_cis_quirks)/sizeof(pccard_cis_quirks[0]); 185 186void pccard_check_cis_quirks(device_t dev) 187{ |
188 struct pccard_softc *sc = (struct pccard_softc *) 189 device_get_softc(dev); | 188 struct pccard_softc *sc = PCCARD_SOFTC(dev); |
190 int wiped = 0; 191 int i, j; 192 struct pccard_function *pf, *pf_next, *pf_last; 193 struct pccard_config_entry *cfe, *cfe_next; 194 195 pf = NULL; 196 pf_last = NULL; 197 --- 62 unchanged lines hidden --- | 189 int wiped = 0; 190 int i, j; 191 struct pccard_function *pf, *pf_next, *pf_last; 192 struct pccard_config_entry *cfe, *cfe_next; 193 194 pf = NULL; 195 pf_last = NULL; 196 --- 62 unchanged lines hidden --- |