Root/
Source at commit 2723787ddc5789c3268deafbfcd3db80a63a182c created 12 years 8 months ago. By Werner Almesberger, atusb: remove more unused items (usb_irq, urb_completion) | |
---|---|
1 | /* |
2 | * atusb - SPI host look-alike for ATSUB |
3 | * |
4 | * Copyright (c) 2011 Richard Sharpe <realrichardsharpe@gmail.com> |
5 | * Copyright (c) 2011 Stefan Schmidt <stefan@datenfreihafen.org> |
6 | * |
7 | * This program is free software; you can redistribute it and/or |
8 | * modify it under the terms of the GNU General Public License as |
9 | * published by the Free Software Foundation, version 2 |
10 | * |
11 | */ |
12 | |
13 | /* |
14 | * - Implement buffer and sram read write |
15 | * - Implement IRQ handling |
16 | */ |
17 | |
18 | #include <linux/kernel.h> |
19 | #include <linux/module.h> |
20 | #include <linux/platform_device.h> |
21 | #include <linux/interrupt.h> |
22 | #include <linux/usb.h> |
23 | #include <linux/spi/spi.h> |
24 | #include <linux/spi/at86rf230.h> |
25 | |
26 | #include "../ieee802154/at86rf230.h" /* dirty */ |
27 | |
28 | #define VENDOR_ID 0x20b7 |
29 | #define PRODUCT_ID 0x1540 |
30 | |
31 | /* The devices we work with */ |
32 | static const struct usb_device_id atusb_device_table[] = { |
33 | { USB_DEVICE(VENDOR_ID, PRODUCT_ID) }, |
34 | { }, |
35 | }; |
36 | MODULE_DEVICE_TABLE(usb, atusb_device_table); |
37 | |
38 | #define ATUSB_BUILD_SIZE 256 |
39 | struct atusb_local { |
40 | struct usb_device * udev; |
41 | /* The interface to the RF part info, if applicable */ |
42 | uint8_t ep0_atusb_major; |
43 | uint8_t ep0_atusb_minor; |
44 | uint8_t atusb_hw_type; |
45 | struct spi_master *master; |
46 | int slave_irq; |
47 | struct at86rf230_platform_data platform_data; |
48 | /* copy platform_data so that we can adapt .reset_data */ |
49 | struct spi_device *spi; |
50 | // unsigned char buffer[3]; |
51 | unsigned char buffer[260]; /* XXL, just in case */ |
52 | struct spi_message *msg; |
53 | }; |
54 | |
55 | /* Commands to our device. Make sure this is synced with the firmware */ |
56 | enum atspi_requests { |
57 | ATUSB_ID = 0x00, /* system status/control grp */ |
58 | ATUSB_BUILD, |
59 | ATUSB_RESET, |
60 | ATUSB_RF_RESET = 0x10, /* debug/test group */ |
61 | ATUSB_POLL_INT, |
62 | ATUSB_TEST, /* atusb-sil only */ |
63 | ATUSB_TIMER, |
64 | ATUSB_GPIO, |
65 | ATUSB_SLP_TR, |
66 | ATUSB_GPIO_CLEANUP, |
67 | ATUSB_REG_WRITE = 0x20, /* transceiver group */ |
68 | ATUSB_REG_READ, |
69 | ATUSB_BUF_WRITE, |
70 | ATUSB_BUF_READ, |
71 | ATUSB_SRAM_WRITE, |
72 | ATUSB_SRAM_READ, |
73 | ATUSB_SPI_WRITE = 0x30, /* SPI group */ |
74 | ATUSB_SPI_READ1, |
75 | ATUSB_SPI_READ2, |
76 | }; |
77 | |
78 | /* |
79 | * Direction bRequest wValue wIndex wLength |
80 | * |
81 | * ->host ATUSB_ID - - 3 |
82 | * ->host ATUSB_BUILD - - #bytes |
83 | * host-> ATUSB_RESET - - 0 |
84 | * |
85 | * host-> ATUSB_RF_RESET - - 0 |
86 | * ->host ATUSB_POLL_INT - - 1 |
87 | * host-> ATUSB_TEST - - 0 |
88 | * ->host ATUSB_TIMER - - #bytes (6) |
89 | * ->host ATUSB_GPIO dir+data mask+p# 3 |
90 | * host-> ATUSB_SLP_TR - - 0 |
91 | * host-> ATUSB_GPIO_CLEANUP - - 0 |
92 | * |
93 | * host-> ATUSB_REG_WRITE value addr 0 |
94 | * ->host ATUSB_REG_READ - addr 1 |
95 | * host-> ATUSB_BUF_WRITE - - #bytes |
96 | * ->host ATUSB_BUF_READ - - #bytes |
97 | * host-> ATUSB_SRAM_WRITE - addr #bytes |
98 | * ->host ATUSB_SRAM_READ - addr #bytes |
99 | * |
100 | * host-> ATUSB_SPI_WRITE byte0 byte1 #bytes |
101 | * ->host ATUSB_SPI_READ1 byte0 - #bytes |
102 | * ->host ATUSB_SPI_READ2 byte0 byte1 #bytes |
103 | */ |
104 | |
105 | #define ATUSB_FROM_DEV (USB_TYPE_VENDOR | USB_DIR_IN) |
106 | #define ATUSB_TO_DEV (USB_TYPE_VENDOR | USB_DIR_OUT) |
107 | |
108 | static void atusb_ctrl_cb(struct urb *urb) |
109 | { |
110 | struct atusb_local *atusb = urb->context; |
111 | struct spi_message *msg = atusb->msg; |
112 | |
113 | if (urb->status) { |
114 | if (!(urb->status == -ENOENT || |
115 | urb->status == -ECONNRESET || |
116 | urb->status == -ESHUTDOWN)) |
117 | printk("Async USB failed with error %i\n", urb->status); |
118 | msg->actual_length = 0; |
119 | } else { |
120 | printk("Async USB succeeded with length %i\n", urb->actual_length); |
121 | } |
122 | |
123 | msg->status = urb->status; |
124 | msg->complete(msg->context); |
125 | |
126 | kfree(urb->setup_packet); |
127 | usb_free_urb(urb); |
128 | } |
129 | |
130 | static void atusb_read_fb_cb(struct urb *urb) |
131 | { |
132 | struct atusb_local *atusb = urb->context; |
133 | struct spi_message *msg = atusb->msg; |
134 | const struct spi_transfer *xfer; |
135 | uint8_t *rx; |
136 | |
137 | if (urb->status) { |
138 | if (!(urb->status == -ENOENT || |
139 | urb->status == -ECONNRESET || |
140 | urb->status == -ESHUTDOWN)) |
141 | printk("Async USB failed with error %i\n", urb->status); |
142 | msg->actual_length = 0; |
143 | } else { |
144 | printk("Async USB succeeded with length %i\n", urb->actual_length); |
145 | BUG_ON(!urb->actual_length); |
146 | xfer = list_first_entry(&msg->transfers, struct spi_transfer, |
147 | transfer_list); |
148 | rx = xfer->rx_buf; |
149 | rx[1] = atusb->buffer[0]; |
150 | xfer = list_entry(xfer->transfer_list.next, |
151 | struct spi_transfer, transfer_list); |
152 | memcpy(xfer->rx_buf, atusb->buffer+1, urb->actual_length-1); |
153 | } |
154 | |
155 | msg->status = urb->status; |
156 | msg->complete(msg->context); |
157 | |
158 | kfree(urb->setup_packet); |
159 | usb_free_urb(urb); |
160 | } |
161 | |
162 | static int atusb_get_and_show_revision(struct atusb_local *atusb) |
163 | { |
164 | struct usb_device *dev = atusb->udev; |
165 | int retval; |
166 | |
167 | /* Get a couple of the ATMega Firmware values */ |
168 | retval = usb_control_msg(dev, |
169 | usb_rcvctrlpipe(dev, 0), |
170 | ATUSB_ID, ATUSB_FROM_DEV, 0, 0, |
171 | atusb->buffer, 3, 1000); |
172 | if (retval < 0) { |
173 | dev_info(&dev->dev, |
174 | "failed submitting urb for ATUSB_ID, error %d", retval); |
175 | return retval == -ENOMEM ? retval : -EIO; |
176 | } |
177 | |
178 | atusb->ep0_atusb_major = atusb->buffer[0]; |
179 | atusb->ep0_atusb_minor = atusb->buffer[1]; |
180 | atusb->atusb_hw_type = atusb->buffer[2]; |
181 | dev_info(&dev->dev, |
182 | "Firmware: major: %u, minor: %u, hardware type: %u\n", |
183 | atusb->ep0_atusb_major, atusb->ep0_atusb_minor, |
184 | atusb->atusb_hw_type); |
185 | |
186 | return 0; |
187 | } |
188 | |
189 | static int atusb_get_and_show_build(struct atusb_local *atusb) |
190 | { |
191 | struct usb_device *dev = atusb->udev; |
192 | char build[ATUSB_BUILD_SIZE+1]; |
193 | int retval; |
194 | |
195 | retval = usb_control_msg(dev, |
196 | usb_rcvctrlpipe(atusb->udev, 0), |
197 | ATUSB_BUILD, ATUSB_FROM_DEV, 0, 0, |
198 | build, ATUSB_BUILD_SIZE+1, 1000); |
199 | if (retval < 0) { |
200 | dev_info(&dev->dev, |
201 | "failed submitting urb for ATUSB_BUILD, error %d", retval); |
202 | return retval == -ENOMEM ? retval : -EIO; |
203 | } |
204 | |
205 | dev_info(&dev->dev, "Firmware: build %s\n", build); |
206 | |
207 | return 0; |
208 | } |
209 | |
210 | static void atusb_reset(void *reset_data) |
211 | { |
212 | int retval; |
213 | struct atusb_local *atusb = reset_data; |
214 | |
215 | retval = usb_control_msg(atusb->udev, |
216 | usb_rcvctrlpipe(atusb->udev, 0), |
217 | ATUSB_RF_RESET, ATUSB_TO_DEV, 0, 0, |
218 | NULL, 0, 1000); |
219 | if (retval < 0) { |
220 | dev_info(&atusb->udev->dev, |
221 | "%s: error doing reset retval = %d\n", |
222 | __func__, retval); |
223 | } |
224 | } |
225 | |
226 | static int submit_control_msg(struct atusb_local *atusb, |
227 | __u8 request, __u8 requesttype, __u16 value, __u16 index, |
228 | void *data, __u16 size, usb_complete_t complete_fn, void *context) |
229 | { |
230 | struct usb_device *dev = atusb->udev; |
231 | struct usb_ctrlrequest *req; |
232 | struct urb *urb; |
233 | int retval = -ENOMEM; |
234 | |
235 | req = kmalloc(sizeof(struct usb_ctrlrequest), GFP_KERNEL); |
236 | if (!req) |
237 | return -ENOMEM; |
238 | |
239 | req->bRequest = request; |
240 | req->bRequestType = requesttype; |
241 | req->wValue = cpu_to_le16(value); |
242 | req->wIndex = cpu_to_le16(index); |
243 | req->wLength = cpu_to_le16(size); |
244 | |
245 | urb = usb_alloc_urb(0, GFP_KERNEL); |
246 | if (!urb) |
247 | goto out_nourb; |
248 | |
249 | usb_fill_control_urb(urb, dev, |
250 | requesttype == ATUSB_FROM_DEV ? |
251 | usb_rcvctrlpipe(dev, 0) : usb_sndctrlpipe(dev, 0), |
252 | (unsigned char *) req, data, size, complete_fn, context); |
253 | |
254 | retval = usb_submit_urb(urb, GFP_KERNEL); |
255 | if (!retval) |
256 | return 0; |
257 | dev_info(&dev->dev, "failed submitting read urb, error %d", |
258 | retval); |
259 | retval = retval == -ENOMEM ? retval : -EIO; |
260 | |
261 | usb_free_urb(urb); |
262 | out_nourb: |
263 | kfree(req); |
264 | |
265 | return retval; |
266 | } |
267 | |
268 | |
269 | static int atusb_read1(struct atusb_local *atusb, |
270 | uint8_t tx, uint8_t *rx, int len) |
271 | { |
272 | dev_info(&atusb->udev->dev, "atusb_read1: tx = 0x%x\n", tx); |
273 | return submit_control_msg(atusb, |
274 | ATUSB_SPI_READ1, ATUSB_FROM_DEV, tx, 0, |
275 | rx, 1, atusb_ctrl_cb, atusb); |
276 | } |
277 | |
278 | static int atusb_read_fb(struct atusb_local *atusb, |
279 | uint8_t tx, uint8_t *rx0, uint8_t *rx, int len) |
280 | { |
281 | dev_info(&atusb->udev->dev, "atusb_read_fb: tx = 0x%x\n", tx); |
282 | return submit_control_msg(atusb, |
283 | ATUSB_SPI_READ1, ATUSB_FROM_DEV, tx, 0, |
284 | atusb->buffer, len+1, atusb_read_fb_cb, atusb); |
285 | } |
286 | |
287 | static int atusb_write(struct atusb_local *atusb, |
288 | uint8_t tx0, uint8_t tx1, const uint8_t *tx, int len) |
289 | { |
290 | dev_info(&atusb->udev->dev, "atusb_write: tx[0] = 0x%x\n", tx0); |
291 | dev_info(&atusb->udev->dev, "atusb_write: tx[1] = 0x%x\n", tx1); |
292 | return submit_control_msg(atusb, |
293 | ATUSB_SPI_WRITE, ATUSB_TO_DEV, tx0, tx1, |
294 | (uint8_t *) tx, len, atusb_ctrl_cb, atusb); |
295 | } |
296 | |
297 | static int atusb_transfer(struct spi_device *spi, struct spi_message *msg) |
298 | { |
299 | struct atusb_local *atusb = spi_master_get_devdata(spi->master); |
300 | struct spi_transfer *xfer; |
301 | struct spi_transfer *x[2]; |
302 | int n; |
303 | const uint8_t *tx; |
304 | uint8_t *rx; |
305 | int len; |
306 | int retval = 0; |
307 | |
308 | if (unlikely(list_empty(&msg->transfers))) { |
309 | dev_err(&atusb->udev->dev, "transfer is empty\n"); |
310 | return -EINVAL; |
311 | } |
312 | |
313 | atusb->msg = msg; |
314 | |
315 | /* Classify the request */ |
316 | n = 0; |
317 | list_for_each_entry(xfer, &msg->transfers, transfer_list) { |
318 | if (n == ARRAY_SIZE(x)) { |
319 | dev_info(&atusb->udev->dev, "too many transfers\n"); |
320 | return -EINVAL; |
321 | } |
322 | x[n] = xfer; |
323 | n++; |
324 | } |
325 | |
326 | tx = x[0]->tx_buf; |
327 | rx = x[0]->rx_buf; |
328 | len = x[0]->len; |
329 | |
330 | msg->actual_length = len; |
331 | |
332 | if (!tx || len != 2) |
333 | goto bad_req; |
334 | if (n == 1) { |
335 | if (rx) { |
336 | dev_info(&atusb->udev->dev, "read 1\n"); |
337 | retval = atusb_read1(atusb, tx[0], rx+1, len-1); |
338 | } else { |
339 | dev_info(&atusb->udev->dev, "write 2\n"); |
340 | /* |
341 | * Don't take our clock away !! ;-) |
342 | */ |
343 | if (tx[0] == (CMD_REG | CMD_WRITE | RG_TRX_CTRL_0)) { |
344 | msg->status = 0; |
345 | msg->complete(msg->context); |
346 | } else { |
347 | retval = atusb_write(atusb, |
348 | tx[0], tx[1], NULL, 0); |
349 | } |
350 | } |
351 | } else { |
352 | if (x[0]->rx_buf) { |
353 | if (x[1]->tx_buf || !x[1]->rx_buf) |
354 | goto bad_req; |
355 | dev_info(&atusb->udev->dev, "read 1+\n"); |
356 | retval = atusb_read_fb(atusb, tx[0], rx+1, |
357 | x[1]->rx_buf, x[1]->len); |
358 | } else { |
359 | if (!x[1]->tx_buf ||x[1]->rx_buf) |
360 | goto bad_req; |
361 | dev_info(&atusb->udev->dev, "write 2+n\n"); |
362 | retval = atusb_write(atusb, tx[0], tx[1], |
363 | x[1]->tx_buf, x[1]->len); |
364 | } |
365 | } |
366 | #if 0 |
367 | /* |
368 | * The AT86RF230 driver sometimes requires a transceiver state |
369 | * transition to be an interrupt barrier. This is the case after |
370 | * writing FORCE_TX_ON to the TRX_CMD field in the TRX_STATE register. |
371 | * |
372 | * Since there is no other means of notification, we just decode the |
373 | * transfer and do a bit of pattern matching. |
374 | */ |
375 | xfer = list_first_entry(&msg->transfers, struct spi_transfer, |
376 | transfer_list); |
377 | tx = xfer->tx_buf; |
378 | if (tx && xfer->len == 2 && |
379 | tx[0] == (CMD_REG | CMD_WRITE | RG_TRX_STATE) && |
380 | (tx[1] & 0x1f) == STATE_FORCE_TX_ON) |
381 | synchronize_irq(atusb->gpio_irq); |
382 | #endif |
383 | return retval; |
384 | |
385 | bad_req: |
386 | dev_info(&atusb->udev->dev, "unrecognized request:\n"); |
387 | list_for_each_entry(xfer, &msg->transfers, transfer_list) |
388 | dev_info(&atusb->udev->dev, "%stx %srx len %u\n", |
389 | xfer->tx_buf ? "" : "!", xfer->rx_buf ? " " : "!", |
390 | xfer->len); |
391 | return -EINVAL; |
392 | } |
393 | |
394 | static int atusb_setup(struct spi_device *spi) |
395 | { |
396 | return 0; |
397 | } |
398 | #if 0 |
399 | static irqreturn_t atusb_irq(int irq, void *data) |
400 | { |
401 | struct atusb_local *atusb = data; |
402 | |
403 | generic_handle_irq(atusb->slave_irq); |
404 | return IRQ_HANDLED; |
405 | } |
406 | #endif |
407 | static void atusb_irq_mask(struct irq_data *data) |
408 | { |
409 | // struct atben_local *atusb = irq_data_get_irq_chip_data(data); |
410 | |
411 | // disable_irq_nosync(atusb->usb_irq); |
412 | } |
413 | |
414 | static void atusb_irq_unmask(struct irq_data *data) |
415 | { |
416 | // struct atben_local *atusb = irq_data_get_irq_chip_data(data); |
417 | |
418 | // enable_irq(atusb->usb_irq); |
419 | } |
420 | |
421 | static struct irq_chip atusb_irq_chip = { |
422 | .name = "atusb-slave", |
423 | .irq_mask = atusb_irq_mask, |
424 | .irq_unmask = atusb_irq_unmask, |
425 | }; |
426 | |
427 | struct at86rf230_platform_data at86rf230_platform_data = { |
428 | .rstn = -1, |
429 | .slp_tr = -1, |
430 | .dig2 = -1, |
431 | .reset = atusb_reset, |
432 | /* set .reset_data later */ |
433 | }; |
434 | |
435 | static int atusb_probe(struct usb_interface *interface, |
436 | const struct usb_device_id *id) |
437 | { |
438 | struct spi_board_info board_info = { |
439 | .modalias = "at86rf230", |
440 | /* set .irq later */ |
441 | .chip_select = 0, |
442 | .bus_num = -1, |
443 | .max_speed_hz = 8 * 1000 * 1000, |
444 | }; |
445 | |
446 | struct usb_device *udev = interface_to_usbdev(interface); |
447 | struct atusb_local *atusb = NULL; |
448 | struct spi_master *master; |
449 | int retval; |
450 | |
451 | /* |
452 | * Ignore all interfaces used for DFU, i.e., everything while in the |
453 | * boot loader, and interface #1 when in the application. |
454 | */ |
455 | if (interface->cur_altsetting->desc.bInterfaceClass != |
456 | USB_CLASS_VENDOR_SPEC) { |
457 | dev_info(&udev->dev, |
458 | "Ignoring interface with class 0x%02x\n", |
459 | interface->cur_altsetting->desc.bInterfaceClass); |
460 | return -ENODEV; |
461 | } |
462 | |
463 | master = spi_alloc_master(&udev->dev, sizeof(*atusb)); |
464 | if (!master) |
465 | return -ENOMEM; |
466 | |
467 | atusb = spi_master_get_devdata(master); |
468 | |
469 | atusb->udev = usb_get_dev(udev); |
470 | usb_set_intfdata(interface, atusb); |
471 | |
472 | atusb->master = spi_master_get(master); |
473 | |
474 | master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; |
475 | master->bus_num = -1; |
476 | master->num_chipselect = 1; |
477 | master->setup = atusb_setup; |
478 | master->transfer = atusb_transfer; |
479 | |
480 | atusb->slave_irq = irq_alloc_desc(numa_node_id()); |
481 | if (atusb->slave_irq < 0) { |
482 | dev_info(&udev->dev, "can't allocate slave irq\n"); |
483 | retval = -ENXIO; |
484 | goto err_free; |
485 | } |
486 | |
487 | set_irq_chip_data(atusb->slave_irq, atusb); |
488 | set_irq_chip_and_handler(atusb->slave_irq, &atusb_irq_chip, |
489 | handle_level_irq); |
490 | |
491 | /* FIXME prepare USB IRQ */ |
492 | |
493 | retval = spi_register_master(master); |
494 | if (retval < 0) { |
495 | dev_info(&udev->dev, "can't register spi master\n"); |
496 | goto err_slave_irq; |
497 | } |
498 | |
499 | atusb->platform_data = at86rf230_platform_data; |
500 | atusb->platform_data.reset_data = atusb; |
501 | board_info.platform_data = &atusb->platform_data; |
502 | board_info.irq = atusb->slave_irq; |
503 | |
504 | atusb->spi = spi_new_device(master, &board_info); |
505 | if (!atusb->spi) { |
506 | dev_info(&udev->dev, "can't create new device for %s\n", |
507 | board_info.modalias); |
508 | goto err_master; |
509 | } |
510 | |
511 | dev_info(&atusb->spi->dev, "ATUSB ready for mischief (IRQ %d)\n", board_info.irq); |
512 | |
513 | if (atusb_get_and_show_revision(atusb) < 0) |
514 | goto err_master; |
515 | if (atusb_get_and_show_build(atusb) < 0) |
516 | goto err_master; |
517 | |
518 | return 0; |
519 | |
520 | err_master: |
521 | spi_master_put(atusb->master); |
522 | err_slave_irq: |
523 | set_irq_chained_handler(atusb->slave_irq, NULL); |
524 | set_irq_chip_data(atusb->slave_irq, NULL); |
525 | irq_free_desc(atusb->slave_irq); |
526 | err_free: |
527 | return retval; |
528 | } |
529 | |
530 | static void atusb_disconnect(struct usb_interface *interface) |
531 | { |
532 | struct atusb_local *atusb = usb_get_intfdata(interface); |
533 | struct spi_master *master = atusb->master; |
534 | |
535 | usb_set_intfdata(interface, NULL); |
536 | usb_put_dev(atusb->udev); |
537 | |
538 | spi_dev_put(atusb->spi); |
539 | |
540 | spi_unregister_master(master); |
541 | |
542 | set_irq_chained_handler(atusb->slave_irq, NULL); |
543 | set_irq_chip_data(atusb->slave_irq, NULL); |
544 | irq_free_desc(atusb->slave_irq); |
545 | |
546 | spi_master_put(master); |
547 | } |
548 | |
549 | void atusb_release(struct device *dev) |
550 | { |
551 | return; |
552 | } |
553 | |
554 | static struct usb_driver atusb_driver = { |
555 | .name = "atusb_ben-wpan", |
556 | .probe = atusb_probe, |
557 | .disconnect = atusb_disconnect, |
558 | .id_table = atusb_device_table, |
559 | }; |
560 | |
561 | static struct platform_device atusb_device = { |
562 | .name = "spi_atusb", |
563 | .id = -1, |
564 | .dev.release = atusb_release, |
565 | }; |
566 | |
567 | static int __init atusb_init(void) |
568 | { |
569 | int retval; |
570 | |
571 | retval = platform_device_register(&atusb_device); |
572 | if (retval) |
573 | return retval; |
574 | |
575 | return usb_register(&atusb_driver); |
576 | } |
577 | |
578 | static void __exit atusb_exit(void) |
579 | { |
580 | usb_deregister(&atusb_driver); |
581 | platform_device_unregister(&atusb_device); |
582 | } |
583 | |
584 | module_init (atusb_init); |
585 | module_exit (atusb_exit); |
586 | |
587 | MODULE_AUTHOR("Richard Sharpe <realrichardsharpe@gmail.com>, Stefan Schmidt \ |
588 | <stefan@datenfreihafen.org>"); |
589 | MODULE_DESCRIPTION( "ATUSB ben-wpan Driver"); |
590 | MODULE_LICENSE("GPL"); |
591 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9