Fix two bugs reported by Don Koch <aardvark@poirot.krl.com>(NetBSD PR#216{8,9})
authorchuck <chuck@openbsd.org>
Mon, 4 Mar 1996 20:35:23 +0000 (20:35 +0000)
committerchuck <chuck@openbsd.org>
Mon, 4 Mar 1996 20:35:23 +0000 (20:35 +0000)
commitcad06e2bf1c2febeb424614e2513a85e825c52b3
treec3b9a726d9a3d2a2b23d4ec41b12b5374e058edd
parent0cd0aa1a484cfafda4854fc93ed6a98937975928
Fix two bugs reported by Don Koch <aardvark@poirot.krl.com>(NetBSD PR#216{8,9})
 [1] check return value from malloc() for NULL before trying to bzero it.
 [2] use "=" rather than "|=" when writing to CSR (otherwise you may
        ACK something you don't mean to!).
sys/arch/sparc/dev/xd.c
sys/arch/sparc/dev/xy.c
sys/arch/sun3/dev/xd.c
sys/arch/sun3/dev/xy.c