uipaq.c (210469) | uipaq.c (212122) |
---|---|
1/* $NetBSD: uipaq.c,v 1.4 2006/11/16 01:33:27 christos Exp $ */ 2/* $OpenBSD: uipaq.c,v 1.1 2005/06/17 23:50:33 deraadt Exp $ */ 3 4/* 5 * Copyright (c) 2000-2005 The NetBSD Foundation, Inc. 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to The NetBSD Foundation --- 28 unchanged lines hidden (view full) --- 37 * 19 July 2003: Incorporated changes suggested by Sam Lawrance from 38 * the uppc module 39 * 40 * 41 * Contact isis@cs.umd.edu if you have any questions/comments about this driver 42 */ 43 44#include <sys/cdefs.h> | 1/* $NetBSD: uipaq.c,v 1.4 2006/11/16 01:33:27 christos Exp $ */ 2/* $OpenBSD: uipaq.c,v 1.1 2005/06/17 23:50:33 deraadt Exp $ */ 3 4/* 5 * Copyright (c) 2000-2005 The NetBSD Foundation, Inc. 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to The NetBSD Foundation --- 28 unchanged lines hidden (view full) --- 37 * 19 July 2003: Incorporated changes suggested by Sam Lawrance from 38 * the uppc module 39 * 40 * 41 * Contact isis@cs.umd.edu if you have any questions/comments about this driver 42 */ 43 44#include <sys/cdefs.h> |
45__FBSDID("$FreeBSD: head/sys/dev/usb/serial/uipaq.c 210469 2010-07-25 15:14:42Z gavin $"); | 45__FBSDID("$FreeBSD: head/sys/dev/usb/serial/uipaq.c 212122 2010-09-01 23:47:53Z thompsa $"); |
46 47#include <sys/stdint.h> 48#include <sys/stddef.h> 49#include <sys/param.h> 50#include <sys/queue.h> 51#include <sys/types.h> 52#include <sys/systm.h> 53#include <sys/kernel.h> --- 1026 unchanged lines hidden (view full) --- 1080 .name = "uipaq", 1081 .methods = uipaq_methods, 1082 .size = sizeof(struct uipaq_softc), 1083}; 1084 1085DRIVER_MODULE(uipaq, uhub, uipaq_driver, uipaq_devclass, NULL, 0); 1086MODULE_DEPEND(uipaq, ucom, 1, 1, 1); 1087MODULE_DEPEND(uipaq, usb, 1, 1, 1); | 46 47#include <sys/stdint.h> 48#include <sys/stddef.h> 49#include <sys/param.h> 50#include <sys/queue.h> 51#include <sys/types.h> 52#include <sys/systm.h> 53#include <sys/kernel.h> --- 1026 unchanged lines hidden (view full) --- 1080 .name = "uipaq", 1081 .methods = uipaq_methods, 1082 .size = sizeof(struct uipaq_softc), 1083}; 1084 1085DRIVER_MODULE(uipaq, uhub, uipaq_driver, uipaq_devclass, NULL, 0); 1086MODULE_DEPEND(uipaq, ucom, 1, 1, 1); 1087MODULE_DEPEND(uipaq, usb, 1, 1, 1); |
1088MODULE_VERSION(uipaq, 1); |
|
1088 1089static int 1090uipaq_probe(device_t dev) 1091{ 1092 struct usb_attach_arg *uaa = device_get_ivars(dev); 1093 1094 if (uaa->usb_mode != USB_MODE_HOST) { 1095 return (ENXIO); --- 253 unchanged lines hidden --- | 1089 1090static int 1091uipaq_probe(device_t dev) 1092{ 1093 struct usb_attach_arg *uaa = device_get_ivars(dev); 1094 1095 if (uaa->usb_mode != USB_MODE_HOST) { 1096 return (ENXIO); --- 253 unchanged lines hidden --- |