ufoma.c (192984) | ufoma.c (193045) |
---|---|
1/* $NetBSD: umodem.c,v 1.45 2002/09/23 05:51:23 simonb Exp $ */ 2 3#include <sys/cdefs.h> | 1/* $NetBSD: umodem.c,v 1.45 2002/09/23 05:51:23 simonb Exp $ */ 2 3#include <sys/cdefs.h> |
4__FBSDID("$FreeBSD: head/sys/dev/usb/serial/ufoma.c 192984 2009-05-28 17:36:36Z thompsa $"); | 4__FBSDID("$FreeBSD: head/sys/dev/usb/serial/ufoma.c 193045 2009-05-29 18:46:57Z thompsa $"); |
5#define UFOMA_HANDSFREE 6/*- 7 * Copyright (c) 2005, Takanori Watanabe 8 * Copyright (c) 2003, M. Warner Losh <imp@FreeBSD.org>. 9 * All rights reserved. 10 * 11 * Redistribution and use in source and binary forms, with or without 12 * modification, are permitted provided that the following conditions --- 175 unchanged lines hidden (view full) --- 188}; 189 190/* prototypes */ 191 192static device_probe_t ufoma_probe; 193static device_attach_t ufoma_attach; 194static device_detach_t ufoma_detach; 195 | 5#define UFOMA_HANDSFREE 6/*- 7 * Copyright (c) 2005, Takanori Watanabe 8 * Copyright (c) 2003, M. Warner Losh <imp@FreeBSD.org>. 9 * All rights reserved. 10 * 11 * Redistribution and use in source and binary forms, with or without 12 * modification, are permitted provided that the following conditions --- 175 unchanged lines hidden (view full) --- 188}; 189 190/* prototypes */ 191 192static device_probe_t ufoma_probe; 193static device_attach_t ufoma_attach; 194static device_detach_t ufoma_detach; 195 |
196static usb2_callback_t ufoma_ctrl_read_callback; 197static usb2_callback_t ufoma_ctrl_write_callback; 198static usb2_callback_t ufoma_intr_callback; 199static usb2_callback_t ufoma_bulk_write_callback; 200static usb2_callback_t ufoma_bulk_read_callback; | 196static usb_callback_t ufoma_ctrl_read_callback; 197static usb_callback_t ufoma_ctrl_write_callback; 198static usb_callback_t ufoma_intr_callback; 199static usb_callback_t ufoma_bulk_write_callback; 200static usb_callback_t ufoma_bulk_read_callback; |
201 202static void *ufoma_get_intconf(struct usb_config_descriptor *, 203 struct usb_interface_descriptor *, uint8_t, uint8_t); 204static void ufoma_cfg_link_state(struct ufoma_softc *); 205static void ufoma_cfg_activate_state(struct ufoma_softc *, uint16_t); 206static void ufoma_cfg_open(struct ucom_softc *); 207static void ufoma_cfg_close(struct ucom_softc *); 208static void ufoma_cfg_set_break(struct ucom_softc *, uint8_t); --- 1006 unchanged lines hidden --- | 201 202static void *ufoma_get_intconf(struct usb_config_descriptor *, 203 struct usb_interface_descriptor *, uint8_t, uint8_t); 204static void ufoma_cfg_link_state(struct ufoma_softc *); 205static void ufoma_cfg_activate_state(struct ufoma_softc *, uint16_t); 206static void ufoma_cfg_open(struct ucom_softc *); 207static void ufoma_cfg_close(struct ucom_softc *); 208static void ufoma_cfg_set_break(struct ucom_softc *, uint8_t); --- 1006 unchanged lines hidden --- |