pccard_cis.c (61788) | pccard_cis.c (64850) |
---|---|
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 61788 2000-06-18 05:28:59Z imp $ */ | 2/* $FreeBSD: head/sys/dev/pccard/pccard_cis.c 64850 2000-08-19 19:22:04Z 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 --- 411 unchanged lines hidden (view full) --- 422 return (ret); 423} 424 425/* XXX this is incredibly verbose. Not sure what trt is */ 426 427void 428pccard_print_cis(device_t dev) 429{ | 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 --- 411 unchanged lines hidden (view full) --- 422 return (ret); 423} 424 425/* XXX this is incredibly verbose. Not sure what trt is */ 426 427void 428pccard_print_cis(device_t dev) 429{ |
430 struct pccard_softc *sc = (struct pccard_softc *) device_get_softc(dev); | 430 struct pccard_softc *sc = PCCARD_SOFTC(dev); |
431 struct pccard_card *card = &sc->card; 432 struct pccard_function *pf; 433 struct pccard_config_entry *cfe; 434 int i; 435 436 device_printf(dev, "CIS version "); 437 if (card->cis1_major == 4) { 438 if (card->cis1_minor == 0) --- 771 unchanged lines hidden --- | 431 struct pccard_card *card = &sc->card; 432 struct pccard_function *pf; 433 struct pccard_config_entry *cfe; 434 int i; 435 436 device_printf(dev, "CIS version "); 437 if (card->cis1_major == 4) { 438 if (card->cis1_minor == 0) --- 771 unchanged lines hidden --- |