pccard_cis.c (90964) | pccard_cis.c (91786) |
---|---|
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 90964 2002-02-20 14:30:46Z shiba $ */ | 2/* $FreeBSD: head/sys/dev/pccard/pccard_cis.c 91786 2002-03-07 08:03:53Z 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 --- 32 unchanged lines hidden (view full) --- 43#include <sys/rman.h> 44#include <machine/resource.h> 45 46#include <dev/pccard/pccardreg.h> 47#include <dev/pccard/pccardvar.h> 48 49#include "card_if.h" 50 | 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 --- 32 unchanged lines hidden (view full) --- 43#include <sys/rman.h> 44#include <machine/resource.h> 45 46#include <dev/pccard/pccardreg.h> 47#include <dev/pccard/pccardvar.h> 48 49#include "card_if.h" 50 |
51extern int pccard_cis_debug; 52 |
|
51#define PCCARDCISDEBUG 52#ifdef PCCARDCISDEBUG | 53#define PCCARDCISDEBUG 54#ifdef PCCARDCISDEBUG |
53int pccardcis_debug = 0; 54#define DPRINTF(arg) if (pccardcis_debug) printf arg 55#define DEVPRINTF(arg) if (pccardcis_debug) device_printf arg | 55#define DPRINTF(arg) if (pccard_cis_debug) printf arg 56#define DEVPRINTF(arg) if (pccard_cis_debug) device_printf arg |
56#else 57#define DPRINTF(arg) 58#define DEVPRINTF(arg) 59#endif 60 61#define PCCARD_CIS_SIZE 1024 62 63struct cis_state { --- 1163 unchanged lines hidden --- | 57#else 58#define DPRINTF(arg) 59#define DEVPRINTF(arg) 60#endif 61 62#define PCCARD_CIS_SIZE 1024 63 64struct cis_state { --- 1163 unchanged lines hidden --- |