Module Name: src Committed By: jakllsch Date: Fri Dec 14 21:27:03 UTC 2018
Modified Files: src/sys/dev/cardbus: if_ral_cardbus.c Log Message: fix whitespace To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/dev/cardbus/if_ral_cardbus.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/cardbus/if_ral_cardbus.c diff -u src/sys/dev/cardbus/if_ral_cardbus.c:1.24 src/sys/dev/cardbus/if_ral_cardbus.c:1.25 --- src/sys/dev/cardbus/if_ral_cardbus.c:1.24 Thu Jul 14 10:19:06 2016 +++ src/sys/dev/cardbus/if_ral_cardbus.c Fri Dec 14 21:27:03 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: if_ral_cardbus.c,v 1.24 2016/07/14 10:19:06 msaitoh Exp $ */ +/* $NetBSD: if_ral_cardbus.c,v 1.25 2018/12/14 21:27:03 jakllsch Exp $ */ /* $OpenBSD: if_ral_cardbus.c,v 1.6 2006/01/09 20:03:31 damien Exp $ */ /*- @@ -22,7 +22,7 @@ * CardBus front-end for the Ralink RT2560/RT2561/RT2561S/RT2661 driver. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_ral_cardbus.c,v 1.24 2016/07/14 10:19:06 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ral_cardbus.c,v 1.25 2018/12/14 21:27:03 jakllsch Exp $"); #include <sys/param.h> @@ -106,10 +106,10 @@ void ral_cardbus_setup(struct ral_cardbu int ral_cardbus_match(device_t parent, cfdata_t cfdata, void *aux) { - struct cardbus_attach_args *ca = aux; + struct cardbus_attach_args *ca = aux; - if (PCI_VENDOR(ca->ca_id) == PCI_VENDOR_RALINK) { - switch (PCI_PRODUCT(ca->ca_id)) { + if (PCI_VENDOR(ca->ca_id) == PCI_VENDOR_RALINK) { + switch (PCI_PRODUCT(ca->ca_id)) { case PCI_PRODUCT_RALINK_RT2560: case PCI_PRODUCT_RALINK_RT2561: case PCI_PRODUCT_RALINK_RT2561S: @@ -117,10 +117,10 @@ ral_cardbus_match(device_t parent, cfdat return 1; default: return 0; - } - } + } + } - return 0; + return 0; } void