Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/dev/isa pullup 1.2->1.3 (bad)



details:   https://anonhg.NetBSD.org/src/rev/317a5a8bd1b0
branches:  netbsd-1-4
changeset: 468591:317a5a8bd1b0
user:      perry <perry%NetBSD.org@localhost>
date:      Fri Apr 30 16:40:18 1999 +0000

description:
pullup 1.2->1.3 (bad)

diffstat:

 sys/dev/isa/if_trtcm_isa.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 5e4905517454 -r 317a5a8bd1b0 sys/dev/isa/if_trtcm_isa.c
--- a/sys/dev/isa/if_trtcm_isa.c        Fri Apr 30 16:34:58 1999 +0000
+++ b/sys/dev/isa/if_trtcm_isa.c        Fri Apr 30 16:40:18 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_trtcm_isa.c,v 1.2 1999/03/22 23:01:37 bad Exp $     */
+/*     $NetBSD: if_trtcm_isa.c,v 1.2.2.1 1999/04/30 16:40:18 perry Exp $       */
 
 #undef TRTCMISADEBUG
 /*
@@ -235,8 +235,10 @@
         */
        tcm = (struct tcm_isa_done_probe *)
            malloc(sizeof(struct tcm_isa_done_probe), M_DEVBUF, M_NOWAIT);
-       if (tcm == NULL)
-               panic("tcmtrprobe: can't allocate state storage");
+       if (tcm == NULL) {
+               printf("trtcm_isa_probe: can't allocate state storage");
+               return 0;
+       }
 
        tcm->tcm_bus = bus;
        LIST_INSERT_HEAD(&tcm_isa_all_probes, tcm, tcm_link);



Home | Main Index | Thread Index | Old Index