Module Name:    src
Committed By:   plunky
Date:           Wed Feb 17 09:49:41 UTC 2010

Modified Files:
        src/usr.sbin/btattach: btattach.c

Log Message:
sort entries in structure
clarify init name type for CSR modules


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/btattach/btattach.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/btattach/btattach.c
diff -u src/usr.sbin/btattach/btattach.c:1.5 src/usr.sbin/btattach/btattach.c:1.6
--- src/usr.sbin/btattach/btattach.c:1.5	Sun Dec  6 12:55:46 2009
+++ src/usr.sbin/btattach/btattach.c	Wed Feb 17 09:49:41 2010
@@ -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,13 +54,6 @@
 
 const struct devtype types[] = {
     {
-	.name = "bcsp",
-	.line = "bcsp",
-	.descr = "Generic BlueCore Serial Protocol",
-	.cflag = CRTSCTS,
-	.speed = B57600,
-    },
-    {
 	.name = "bcm2035",
 	.line = "btuart",
 	.descr = "Broadcom BCM2035",
@@ -68,6 +61,13 @@
 	.speed = B115200,
     },
     {
+	.name = "bcsp",
+	.line = "bcsp",
+	.descr = "Generic BlueCore Serial Protocol",
+	.cflag = CRTSCTS,
+	.speed = B57600,
+    },
+    {
 	.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,

Reply via email to