diff options
author | imp <imp@FreeBSD.org> | 2001-05-25 05:25:43 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2001-05-25 05:25:43 +0000 |
commit | 3a70962792e0b697671b245f04f526e801ad9b7b (patch) | |
tree | 4f7617b04ee0fcf6d9e2f185c390aa4dc5c6618e /sys/pccard/pcic.c | |
parent | 3a5034ec484a94753f49b49d59eae519167d022c (diff) | |
download | FreeBSD-src-3a70962792e0b697671b245f04f526e801ad9b7b.zip FreeBSD-src-3a70962792e0b697671b245f04f526e801ad9b7b.tar.gz |
Add intrack field to each slot. This can be used to acknowledge
interrupts on other buses. Right now it isn't used, but will be for
the pci attachment.
# Add copyright by me for this year since I've changed so much.
Diffstat (limited to 'sys/pccard/pcic.c')
-rw-r--r-- | sys/pccard/pcic.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c index 199f6d0..2316f74 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) { |