umct.c (199816) | umct.c (212122) |
---|---|
1#include <sys/cdefs.h> | 1#include <sys/cdefs.h> |
2__FBSDID("$FreeBSD: head/sys/dev/usb/serial/umct.c 199816 2009-11-26 00:43:17Z thompsa $"); | 2__FBSDID("$FreeBSD: head/sys/dev/usb/serial/umct.c 212122 2010-09-01 23:47:53Z thompsa $"); |
3 4/*- 5 * Copyright (c) 2003 Scott Long 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions 10 * are met: --- 203 unchanged lines hidden (view full) --- 214 .name = "umct", 215 .methods = umct_methods, 216 .size = sizeof(struct umct_softc), 217}; 218 219DRIVER_MODULE(umct, uhub, umct_driver, umct_devclass, NULL, 0); 220MODULE_DEPEND(umct, ucom, 1, 1, 1); 221MODULE_DEPEND(umct, usb, 1, 1, 1); | 3 4/*- 5 * Copyright (c) 2003 Scott Long 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions 10 * are met: --- 203 unchanged lines hidden (view full) --- 214 .name = "umct", 215 .methods = umct_methods, 216 .size = sizeof(struct umct_softc), 217}; 218 219DRIVER_MODULE(umct, uhub, umct_driver, umct_devclass, NULL, 0); 220MODULE_DEPEND(umct, ucom, 1, 1, 1); 221MODULE_DEPEND(umct, usb, 1, 1, 1); |
222MODULE_VERSION(umct, 1); |
|
222 223static int 224umct_probe(device_t dev) 225{ 226 struct usb_attach_arg *uaa = device_get_ivars(dev); 227 228 if (uaa->usb_mode != USB_MODE_HOST) { 229 return (ENXIO); --- 408 unchanged lines hidden --- | 223 224static int 225umct_probe(device_t dev) 226{ 227 struct usb_attach_arg *uaa = device_get_ivars(dev); 228 229 if (uaa->usb_mode != USB_MODE_HOST) { 230 return (ENXIO); --- 408 unchanged lines hidden --- |