diff options
author | imp <imp@FreeBSD.org> | 2003-11-10 16:04:11 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-11-10 16:04:11 +0000 |
commit | 804e92af91c06459de3edf99a69de3e542a12c64 (patch) | |
tree | 7daf816769cac94805af8790c2392345a6c1c987 /sys/dev/sn/if_sn_isa.c | |
parent | 9d0c797a7de60eb98e5d0651d65be12ef1be2fb7 (diff) | |
download | FreeBSD-src-804e92af91c06459de3edf99a69de3e542a12c64.zip FreeBSD-src-804e92af91c06459de3edf99a69de3e542a12c64.tar.gz |
Don't establish the ISR in the sn_activate routine. I've had two
crashes that had sn0 as the irq that's being serviced, when there was
no sn0 in the system. This seems to prevent them. Also, we want to
wait until after we've registered with the network layer before we
turn on the interrupt spigot to avoid races.
Diffstat (limited to 'sys/dev/sn/if_sn_isa.c')
-rw-r--r-- | sys/dev/sn/if_sn_isa.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/sn/if_sn_isa.c b/sys/dev/sn/if_sn_isa.c index a793be2..f88f338 100644 --- a/sys/dev/sn/if_sn_isa.c +++ b/sys/dev/sn/if_sn_isa.c @@ -10,11 +10,6 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by Herb Peyerl. - * 4. The name of Herb Peyerl may not be used to endorse or promote products - * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |