diff options
| author | Warner Losh <imp@FreeBSD.org> | 2001-05-25 05:25:43 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2001-05-25 05:25:43 +0000 |
| commit | f7d83eb18339094e1c8b029630b15555e21bbca2 (patch) | |
| tree | 4e9951eef399b7421a510809800334842c0742f9 | |
| parent | 5da1cb2e2fb0e8a1c0b966ff2e55d6e43ac46703 (diff) | |
Notes
| -rw-r--r-- | sys/pccard/pcic.c | 3 | ||||
| -rw-r--r-- | sys/pccard/pcicvar.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c index 199f6d0b68254..2316f74fa4d4f 100644 --- a/sys/pccard/pcic.c +++ b/sys/pccard/pcic.c @@ -2,6 +2,7 @@ * Intel PCIC or compatible Controller driver *------------------------------------------------------------------------- * + * Copyright (c) 2001 M. Warner Losh. All rights reserved. * Copyright (c) 1995 Andrew McRae. All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -660,6 +661,8 @@ pcicintr1(void *arg) splx(s); return (EIO); } + if (sp->intrack) + sp->intrack(sp); if (chg & PCIC_CDTCH) { if ((sp->getb(sp, PCIC_STATUS) & PCIC_CD) == PCIC_CD) { diff --git a/sys/pccard/pcicvar.h b/sys/pccard/pcicvar.h index 57bbb1ef95977..e11f4861d3d54 100644 --- a/sys/pccard/pcicvar.h +++ b/sys/pccard/pcicvar.h @@ -35,6 +35,7 @@ struct pcic_slot { struct pcic_softc *sc; /* Back pointer to softc */ u_char (*getb)(struct pcic_slot *, int); void (*putb)(struct pcic_slot *, int, u_char); + void (*intrack)(struct pcic_slot *); bus_space_tag_t bst; bus_space_handle_t bsh; }; |
