Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/btattach sort entries in structure
details: https://anonhg.NetBSD.org/src/rev/c254bbd4edee
branches: trunk
changeset: 752147:c254bbd4edee
user: plunky <plunky%NetBSD.org@localhost>
date: Wed Feb 17 09:49:41 2010 +0000
description:
sort entries in structure
clarify init name type for CSR modules
diffstat:
usr.sbin/btattach/btattach.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diffs (55 lines):
diff -r 6929deac3445 -r c254bbd4edee usr.sbin/btattach/btattach.c
--- a/usr.sbin/btattach/btattach.c Wed Feb 17 06:06:50 2010 +0000
+++ b/usr.sbin/btattach/btattach.c Wed Feb 17 09:49:41 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: btattach.c,v 1.5 2009/12/06 12:55:46 kiyohara Exp $ */
+/* $NetBSD: btattach.c,v 1.6 2010/02/17 09:49:41 plunky Exp $ */
/*-
* Copyright (c) 2008 Iain Hibbert
@@ -27,7 +27,7 @@
#include <sys/cdefs.h>
__COPYRIGHT("@(#) Copyright (c) 2008 Iain Hibbert. All rights reserved.");
-__RCSID("$NetBSD: btattach.c,v 1.5 2009/12/06 12:55:46 kiyohara Exp $");
+__RCSID("$NetBSD: btattach.c,v 1.6 2010/02/17 09:49:41 plunky Exp $");
#include <sys/ioctl.h>
#include <sys/param.h>
@@ -54,6 +54,13 @@
const struct devtype types[] = {
{
+ .name = "bcm2035",
+ .line = "btuart",
+ .descr = "Broadcom BCM2035",
+ .init = &init_bcm2035,
+ .speed = B115200,
+ },
+ {
.name = "bcsp",
.line = "bcsp",
.descr = "Generic BlueCore Serial Protocol",
@@ -61,13 +68,6 @@
.speed = B57600,
},
{
- .name = "bcm2035",
- .line = "btuart",
- .descr = "Broadcom BCM2035",
- .init = &init_bcm2035,
- .speed = B115200,
- },
- {
.name = "bgb2xx",
.line = "btuart",
.descr = "Philips BGB2xx module",
@@ -83,7 +83,7 @@
{
.name = "csr",
.line = "btuart",
- .descr = "CSR Casira serial adaptor",
+ .descr = "Cambridge Silicon Radio based modules (not BCSP)",
.init = &init_csr,
.cflag = CRTSCTS,
.speed = B57600,
Home |
Main Index |
Thread Index |
Old Index