Module Name: src Committed By: mrg Date: Sat Oct 5 01:35:26 UTC 2019
Modified Files: src/sys/dev/pcmcia: xirc.c Log Message: add missing break. (this code is fun. it has switch inside switch, and both switches have two cases, one with an identifier and one with a magic number.) To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/dev/pcmcia/xirc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pcmcia/xirc.c diff -u src/sys/dev/pcmcia/xirc.c:1.35 src/sys/dev/pcmcia/xirc.c:1.36 --- src/sys/dev/pcmcia/xirc.c:1.35 Sat Dec 8 17:46:14 2018 +++ src/sys/dev/pcmcia/xirc.c Sat Oct 5 01:35:26 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: xirc.c,v 1.35 2018/12/08 17:46:14 thorpej Exp $ */ +/* $NetBSD: xirc.c,v 1.36 2019/10/05 01:35:26 mrg Exp $ */ /*- * Copyright (c) 1999, 2000, 2004 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: xirc.c,v 1.35 2018/12/08 17:46:14 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: xirc.c,v 1.36 2019/10/05 01:35:26 mrg Exp $"); #include "opt_inet.h" @@ -694,6 +694,7 @@ xi_xirc_lan_nid_ciscallback(struct pcmci myla[i] = pcmcia_tuple_read_1(tuple, i + 3); return (1); } + break; case 0x89: if (pcmcia_tuple_read_1(tuple, 0) != 0x04 ||