Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/cardbus fix whitespace
details: https://anonhg.NetBSD.org/src/rev/12bb43279ce3
branches: trunk
changeset: 446692:12bb43279ce3
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Fri Dec 14 21:27:03 2018 +0000
description:
fix whitespace
diffstat:
sys/dev/cardbus/if_ral_cardbus.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (46 lines):
diff -r c4ed319382d8 -r 12bb43279ce3 sys/dev/cardbus/if_ral_cardbus.c
--- a/sys/dev/cardbus/if_ral_cardbus.c Fri Dec 14 21:23:43 2018 +0000
+++ b/sys/dev/cardbus/if_ral_cardbus.c Fri Dec 14 21:27:03 2018 +0000
@@ -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 @@
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 @@
return 1;
default:
return 0;
- }
- }
+ }
+ }
- return 0;
+ return 0;
}
void
Home |
Main Index |
Thread Index |
Old Index