blob: 56be56c1ab638f8fe701dff278d9fc6d2819e48c [file] [log] [blame]
Greg Kroah-Hartman5fd54ac2017-11-03 11:28:30 +01001// SPDX-License-Identifier: GPL-2.0
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +01002/*
3 * Generic platform ohci driver
4 *
5 * Copyright 2007 Michael Buesch <m@bues.ch>
6 * Copyright 2011-2012 Hauke Mehrtens <hauke@hauke-m.de>
Hans de Goedeca52a172014-02-07 16:36:40 +01007 * Copyright 2014 Hans de Goede <hdegoede@redhat.com>
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +01008 *
9 * Derived from the OCHI-SSB driver
10 * Derived from the OHCI-PCI driver
11 * Copyright 1999 Roman Weissgaerber
12 * Copyright 2000-2002 David Brownell
13 * Copyright 1999 Linus Torvalds
14 * Copyright 1999 Gregory P. Smith
15 *
16 * Licensed under the GNU/GPL. See COPYING for details.
17 */
Manjunath Goudar928fb682013-06-03 20:46:08 +053018
Hans de Goedeca52a172014-02-07 16:36:40 +010019#include <linux/clk.h>
20#include <linux/dma-mapping.h>
Manjunath Goudar928fb682013-06-03 20:46:08 +053021#include <linux/hrtimer.h>
22#include <linux/io.h>
23#include <linux/kernel.h>
24#include <linux/module.h>
Thierry Reding148e1132013-01-21 11:09:22 +010025#include <linux/err.h>
Hans de Goedeca52a172014-02-07 16:36:40 +010026#include <linux/phy/phy.h>
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +010027#include <linux/platform_device.h>
Tony Lindgren0aa0b932017-05-25 09:13:31 -070028#include <linux/pm_runtime.h>
Maxime Ripard4615f3b2014-05-13 17:44:20 +020029#include <linux/reset.h>
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +010030#include <linux/usb/ohci_pdriver.h>
Manjunath Goudar928fb682013-06-03 20:46:08 +053031#include <linux/usb.h>
32#include <linux/usb/hcd.h>
33
34#include "ohci.h"
35
36#define DRIVER_DESC "OHCI generic platform driver"
Hans de Goedeca52a172014-02-07 16:36:40 +010037#define OHCI_MAX_CLKS 3
38#define hcd_to_ohci_priv(h) ((struct ohci_platform_priv *)hcd_to_ohci(h)->priv)
39
40struct ohci_platform_priv {
41 struct clk *clks[OHCI_MAX_CLKS];
Masahiro Yamada20a7f3a2017-11-02 01:01:59 +090042 struct reset_control *resets;
Arun Ramamurthy85cd6902015-01-19 16:05:30 -080043 struct phy **phys;
44 int num_phys;
Hans de Goedeca52a172014-02-07 16:36:40 +010045};
Manjunath Goudar928fb682013-06-03 20:46:08 +053046
47static const char hcd_name[] = "ohci-platform";
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +010048
Hans de Goedeca52a172014-02-07 16:36:40 +010049static int ohci_platform_power_on(struct platform_device *dev)
50{
51 struct usb_hcd *hcd = platform_get_drvdata(dev);
52 struct ohci_platform_priv *priv = hcd_to_ohci_priv(hcd);
Arun Ramamurthy85cd6902015-01-19 16:05:30 -080053 int clk, ret, phy_num;
Hans de Goedeca52a172014-02-07 16:36:40 +010054
55 for (clk = 0; clk < OHCI_MAX_CLKS && priv->clks[clk]; clk++) {
56 ret = clk_prepare_enable(priv->clks[clk]);
57 if (ret)
58 goto err_disable_clks;
59 }
60
Arun Ramamurthy85cd6902015-01-19 16:05:30 -080061 for (phy_num = 0; phy_num < priv->num_phys; phy_num++) {
Arun Ramamurthya666f7d2015-04-22 16:04:13 -070062 ret = phy_init(priv->phys[phy_num]);
63 if (ret)
64 goto err_exit_phy;
65 ret = phy_power_on(priv->phys[phy_num]);
66 if (ret) {
67 phy_exit(priv->phys[phy_num]);
68 goto err_exit_phy;
Arun Ramamurthy85cd6902015-01-19 16:05:30 -080069 }
Hans de Goedeca52a172014-02-07 16:36:40 +010070 }
71
72 return 0;
73
74err_exit_phy:
Arun Ramamurthy85cd6902015-01-19 16:05:30 -080075 while (--phy_num >= 0) {
Arun Ramamurthya666f7d2015-04-22 16:04:13 -070076 phy_power_off(priv->phys[phy_num]);
77 phy_exit(priv->phys[phy_num]);
Arun Ramamurthy85cd6902015-01-19 16:05:30 -080078 }
Hans de Goedeca52a172014-02-07 16:36:40 +010079err_disable_clks:
80 while (--clk >= 0)
81 clk_disable_unprepare(priv->clks[clk]);
82
83 return ret;
84}
85
86static void ohci_platform_power_off(struct platform_device *dev)
87{
88 struct usb_hcd *hcd = platform_get_drvdata(dev);
89 struct ohci_platform_priv *priv = hcd_to_ohci_priv(hcd);
Arun Ramamurthy85cd6902015-01-19 16:05:30 -080090 int clk, phy_num;
Hans de Goedeca52a172014-02-07 16:36:40 +010091
Arun Ramamurthy85cd6902015-01-19 16:05:30 -080092 for (phy_num = 0; phy_num < priv->num_phys; phy_num++) {
Arun Ramamurthya666f7d2015-04-22 16:04:13 -070093 phy_power_off(priv->phys[phy_num]);
94 phy_exit(priv->phys[phy_num]);
Hans de Goedeca52a172014-02-07 16:36:40 +010095 }
96
97 for (clk = OHCI_MAX_CLKS - 1; clk >= 0; clk--)
98 if (priv->clks[clk])
99 clk_disable_unprepare(priv->clks[clk]);
100}
101
Manjunath Goudar928fb682013-06-03 20:46:08 +0530102static struct hc_driver __read_mostly ohci_platform_hc_driver;
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100103
Manjunath Goudar928fb682013-06-03 20:46:08 +0530104static const struct ohci_driver_overrides platform_overrides __initconst = {
Hans de Goedeca52a172014-02-07 16:36:40 +0100105 .product_desc = "Generic Platform OHCI controller",
Hans de Goedeca52a172014-02-07 16:36:40 +0100106 .extra_priv_size = sizeof(struct ohci_platform_priv),
107};
108
109static struct usb_ohci_pdata ohci_platform_defaults = {
110 .power_on = ohci_platform_power_on,
111 .power_suspend = ohci_platform_power_off,
112 .power_off = ohci_platform_power_off,
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100113};
114
Bill Pemberton41ac7b32012-11-19 13:21:48 -0500115static int ohci_platform_probe(struct platform_device *dev)
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100116{
117 struct usb_hcd *hcd;
118 struct resource *res_mem;
Jingoo Hand4f09e22013-07-30 19:59:40 +0900119 struct usb_ohci_pdata *pdata = dev_get_platdata(&dev->dev);
Hans de Goedeca52a172014-02-07 16:36:40 +0100120 struct ohci_platform_priv *priv;
Hans de Goedeb1034412014-02-07 16:36:42 +0100121 struct ohci_hcd *ohci;
Masahiro Yamada20a7f3a2017-11-02 01:01:59 +0900122 int err, irq, phy_num, clk = 0;
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100123
124 if (usb_disabled())
125 return -ENODEV;
126
Hans de Goedeca52a172014-02-07 16:36:40 +0100127 /*
128 * Use reasonable defaults so platforms don't have to provide these
129 * with DT probing on ARM.
130 */
131 if (!pdata)
132 pdata = &ohci_platform_defaults;
133
134 err = dma_coerce_mask_and_coherent(&dev->dev, DMA_BIT_MASK(32));
135 if (err)
136 return err;
137
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100138 irq = platform_get_irq(dev, 0);
139 if (irq < 0) {
Florian Fainelli976baf62012-10-08 15:11:42 +0200140 dev_err(&dev->dev, "no irq provided");
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100141 return irq;
142 }
143
Hans de Goedeca52a172014-02-07 16:36:40 +0100144 hcd = usb_create_hcd(&ohci_platform_hc_driver, &dev->dev,
145 dev_name(&dev->dev));
146 if (!hcd)
147 return -ENOMEM;
148
149 platform_set_drvdata(dev, hcd);
150 dev->dev.platform_data = pdata;
151 priv = hcd_to_ohci_priv(hcd);
Hans de Goedeb1034412014-02-07 16:36:42 +0100152 ohci = hcd_to_ohci(hcd);
Hans de Goedeca52a172014-02-07 16:36:40 +0100153
154 if (pdata == &ohci_platform_defaults && dev->dev.of_node) {
Hans de Goedeb1034412014-02-07 16:36:42 +0100155 if (of_property_read_bool(dev->dev.of_node, "big-endian-regs"))
156 ohci->flags |= OHCI_QUIRK_BE_MMIO;
157
158 if (of_property_read_bool(dev->dev.of_node, "big-endian-desc"))
159 ohci->flags |= OHCI_QUIRK_BE_DESC;
160
161 if (of_property_read_bool(dev->dev.of_node, "big-endian"))
162 ohci->flags |= OHCI_QUIRK_BE_MMIO | OHCI_QUIRK_BE_DESC;
163
Kevin Cernekeec4b86922014-10-11 11:10:48 -0700164 if (of_property_read_bool(dev->dev.of_node, "no-big-frame-no"))
165 ohci->flags |= OHCI_QUIRK_FRAME_NO;
166
Tony Lindgren2545d852017-05-25 09:13:32 -0700167 if (of_property_read_bool(dev->dev.of_node,
168 "remote-wakeup-connected"))
169 ohci->hc_control = OHCI_CTRL_RWC;
170
Kevin Cernekeec4b86922014-10-11 11:10:48 -0700171 of_property_read_u32(dev->dev.of_node, "num-ports",
172 &ohci->num_ports);
173
Arun Ramamurthy85cd6902015-01-19 16:05:30 -0800174 priv->num_phys = of_count_phandle_with_args(dev->dev.of_node,
175 "phys", "#phy-cells");
Arun Ramamurthy85cd6902015-01-19 16:05:30 -0800176
Arun Ramamurthya666f7d2015-04-22 16:04:13 -0700177 if (priv->num_phys > 0) {
178 priv->phys = devm_kcalloc(&dev->dev, priv->num_phys,
179 sizeof(struct phy *), GFP_KERNEL);
180 if (!priv->phys)
181 return -ENOMEM;
182 } else
183 priv->num_phys = 0;
Arun Ramamurthy85cd6902015-01-19 16:05:30 -0800184
185 for (phy_num = 0; phy_num < priv->num_phys; phy_num++) {
Arun Ramamurthya666f7d2015-04-22 16:04:13 -0700186 priv->phys[phy_num] = devm_of_phy_get_by_index(
187 &dev->dev, dev->dev.of_node, phy_num);
188 if (IS_ERR(priv->phys[phy_num])) {
189 err = PTR_ERR(priv->phys[phy_num]);
190 goto err_put_hcd;
Yoshihiro Shimodad3d6ef12017-03-13 15:25:24 +0900191 } else if (!hcd->phy) {
192 /* Avoiding phy_get() in usb_add_hcd() */
193 hcd->phy = priv->phys[phy_num];
Arun Ramamurthya666f7d2015-04-22 16:04:13 -0700194 }
Hans de Goedeca52a172014-02-07 16:36:40 +0100195 }
196
197 for (clk = 0; clk < OHCI_MAX_CLKS; clk++) {
198 priv->clks[clk] = of_clk_get(dev->dev.of_node, clk);
199 if (IS_ERR(priv->clks[clk])) {
200 err = PTR_ERR(priv->clks[clk]);
201 if (err == -EPROBE_DEFER)
202 goto err_put_clks;
203 priv->clks[clk] = NULL;
204 break;
205 }
206 }
Masahiro Yamada20a7f3a2017-11-02 01:01:59 +0900207
208 priv->resets = devm_reset_control_array_get_optional_shared(
209 &dev->dev);
210 if (IS_ERR(priv->resets)) {
211 err = PTR_ERR(priv->resets);
212 goto err_put_clks;
Hans de Goede62d96942016-06-02 17:14:06 +0200213 }
Masahiro Yamada20a7f3a2017-11-02 01:01:59 +0900214
215 err = reset_control_deassert(priv->resets);
216 if (err)
217 goto err_put_clks;
Hans de Goedeca52a172014-02-07 16:36:40 +0100218 }
219
Alan Sternadff5292014-02-11 11:26:00 -0500220 if (pdata->big_endian_desc)
221 ohci->flags |= OHCI_QUIRK_BE_DESC;
222 if (pdata->big_endian_mmio)
223 ohci->flags |= OHCI_QUIRK_BE_MMIO;
Kevin Cernekee46f21942014-10-11 11:10:49 -0700224 if (pdata->no_big_frame_no)
225 ohci->flags |= OHCI_QUIRK_FRAME_NO;
226 if (pdata->num_ports)
227 ohci->num_ports = pdata->num_ports;
Alan Sternadff5292014-02-11 11:26:00 -0500228
229#ifndef CONFIG_USB_OHCI_BIG_ENDIAN_MMIO
230 if (ohci->flags & OHCI_QUIRK_BE_MMIO) {
231 dev_err(&dev->dev,
232 "Error: CONFIG_USB_OHCI_BIG_ENDIAN_MMIO not set\n");
233 err = -EINVAL;
Maxime Ripard4615f3b2014-05-13 17:44:20 +0200234 goto err_reset;
Alan Sternadff5292014-02-11 11:26:00 -0500235 }
236#endif
237#ifndef CONFIG_USB_OHCI_BIG_ENDIAN_DESC
238 if (ohci->flags & OHCI_QUIRK_BE_DESC) {
239 dev_err(&dev->dev,
240 "Error: CONFIG_USB_OHCI_BIG_ENDIAN_DESC not set\n");
241 err = -EINVAL;
Maxime Ripard4615f3b2014-05-13 17:44:20 +0200242 goto err_reset;
Alan Sternadff5292014-02-11 11:26:00 -0500243 }
244#endif
245
Tony Lindgren0aa0b932017-05-25 09:13:31 -0700246 pm_runtime_set_active(&dev->dev);
247 pm_runtime_enable(&dev->dev);
Kuninori Morimotoe4d37ae2012-08-06 18:09:10 -0700248 if (pdata->power_on) {
249 err = pdata->power_on(dev);
250 if (err < 0)
Maxime Ripard4615f3b2014-05-13 17:44:20 +0200251 goto err_reset;
Kuninori Morimotoe4d37ae2012-08-06 18:09:10 -0700252 }
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100253
Varka Bhadram7b519292014-11-04 07:51:16 +0530254 res_mem = platform_get_resource(dev, IORESOURCE_MEM, 0);
Thierry Reding148e1132013-01-21 11:09:22 +0100255 hcd->regs = devm_ioremap_resource(&dev->dev, res_mem);
256 if (IS_ERR(hcd->regs)) {
257 err = PTR_ERR(hcd->regs);
Hans de Goedeca52a172014-02-07 16:36:40 +0100258 goto err_power;
Julia Lawallaece3892012-08-14 08:47:37 +0200259 }
Varka Bhadram7b519292014-11-04 07:51:16 +0530260 hcd->rsrc_start = res_mem->start;
261 hcd->rsrc_len = resource_size(res_mem);
262
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100263 err = usb_add_hcd(hcd, irq, IRQF_SHARED);
264 if (err)
Hans de Goedeca52a172014-02-07 16:36:40 +0100265 goto err_power;
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100266
Peter Chen3c9740a2013-11-05 10:46:02 +0800267 device_wakeup_enable(hcd->self.controller);
268
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100269 platform_set_drvdata(dev, hcd);
270
271 return err;
272
Kuninori Morimotoe4d37ae2012-08-06 18:09:10 -0700273err_power:
274 if (pdata->power_off)
275 pdata->power_off(dev);
Maxime Ripard4615f3b2014-05-13 17:44:20 +0200276err_reset:
Tony Lindgren0aa0b932017-05-25 09:13:31 -0700277 pm_runtime_disable(&dev->dev);
Masahiro Yamada20a7f3a2017-11-02 01:01:59 +0900278 reset_control_assert(priv->resets);
Hans de Goedeca52a172014-02-07 16:36:40 +0100279err_put_clks:
280 while (--clk >= 0)
281 clk_put(priv->clks[clk]);
282err_put_hcd:
283 if (pdata == &ohci_platform_defaults)
284 dev->dev.platform_data = NULL;
285
286 usb_put_hcd(hcd);
Kuninori Morimotoe4d37ae2012-08-06 18:09:10 -0700287
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100288 return err;
289}
290
Bill Pembertonfb4e98a2012-11-19 13:26:20 -0500291static int ohci_platform_remove(struct platform_device *dev)
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100292{
293 struct usb_hcd *hcd = platform_get_drvdata(dev);
Jingoo Hand4f09e22013-07-30 19:59:40 +0900294 struct usb_ohci_pdata *pdata = dev_get_platdata(&dev->dev);
Hans de Goedeca52a172014-02-07 16:36:40 +0100295 struct ohci_platform_priv *priv = hcd_to_ohci_priv(hcd);
Masahiro Yamada20a7f3a2017-11-02 01:01:59 +0900296 int clk;
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100297
Tony Lindgren0aa0b932017-05-25 09:13:31 -0700298 pm_runtime_get_sync(&dev->dev);
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100299 usb_remove_hcd(hcd);
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100300
Kuninori Morimotoe4d37ae2012-08-06 18:09:10 -0700301 if (pdata->power_off)
302 pdata->power_off(dev);
303
Masahiro Yamada20a7f3a2017-11-02 01:01:59 +0900304 reset_control_assert(priv->resets);
Maxime Ripard4615f3b2014-05-13 17:44:20 +0200305
Hans de Goedeca52a172014-02-07 16:36:40 +0100306 for (clk = 0; clk < OHCI_MAX_CLKS && priv->clks[clk]; clk++)
307 clk_put(priv->clks[clk]);
308
309 usb_put_hcd(hcd);
310
Tony Lindgren0aa0b932017-05-25 09:13:31 -0700311 pm_runtime_put_sync(&dev->dev);
312 pm_runtime_disable(&dev->dev);
313
Hans de Goedeca52a172014-02-07 16:36:40 +0100314 if (pdata == &ohci_platform_defaults)
315 dev->dev.platform_data = NULL;
316
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100317 return 0;
318}
319
Wonhong Kwon5e4ccd92014-10-24 13:45:47 +0900320#ifdef CONFIG_PM_SLEEP
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100321static int ohci_platform_suspend(struct device *dev)
322{
Manjunath Goudar39dbd7d2013-10-04 09:58:14 +0530323 struct usb_hcd *hcd = dev_get_drvdata(dev);
324 struct usb_ohci_pdata *pdata = dev->platform_data;
Geliang Tang20db5512015-12-23 21:26:52 +0800325 struct platform_device *pdev = to_platform_device(dev);
Manjunath Goudar39dbd7d2013-10-04 09:58:14 +0530326 bool do_wakeup = device_may_wakeup(dev);
327 int ret;
328
329 ret = ohci_suspend(hcd, do_wakeup);
330 if (ret)
331 return ret;
Kuninori Morimotoe4d37ae2012-08-06 18:09:10 -0700332
333 if (pdata->power_suspend)
334 pdata->power_suspend(pdev);
335
Manjunath Goudar39dbd7d2013-10-04 09:58:14 +0530336 return ret;
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100337}
338
339static int ohci_platform_resume(struct device *dev)
340{
341 struct usb_hcd *hcd = dev_get_drvdata(dev);
Jingoo Hand4f09e22013-07-30 19:59:40 +0900342 struct usb_ohci_pdata *pdata = dev_get_platdata(dev);
Geliang Tang20db5512015-12-23 21:26:52 +0800343 struct platform_device *pdev = to_platform_device(dev);
Kuninori Morimotoe4d37ae2012-08-06 18:09:10 -0700344
345 if (pdata->power_on) {
346 int err = pdata->power_on(pdev);
347 if (err < 0)
348 return err;
349 }
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100350
Florian Fainellicfa49b42012-10-08 15:11:29 +0200351 ohci_resume(hcd, false);
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100352 return 0;
353}
Wonhong Kwon5e4ccd92014-10-24 13:45:47 +0900354#endif /* CONFIG_PM_SLEEP */
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100355
Hans de Goedeca52a172014-02-07 16:36:40 +0100356static const struct of_device_id ohci_platform_ids[] = {
Hans de Goedece149c32014-02-11 17:35:28 +0100357 { .compatible = "generic-ohci", },
Andreas Herrmanna95cfa62015-01-06 13:48:56 +0100358 { .compatible = "cavium,octeon-6335-ohci", },
Tony Lindgren2545d852017-05-25 09:13:32 -0700359 { .compatible = "ti,ohci-omap3", },
Hans de Goedeca52a172014-02-07 16:36:40 +0100360 { }
361};
362MODULE_DEVICE_TABLE(of, ohci_platform_ids);
363
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100364static const struct platform_device_id ohci_platform_table[] = {
365 { "ohci-platform", 0 },
366 { }
367};
368MODULE_DEVICE_TABLE(platform, ohci_platform_table);
369
Wonhong Kwon5e4ccd92014-10-24 13:45:47 +0900370static SIMPLE_DEV_PM_OPS(ohci_platform_pm_ops, ohci_platform_suspend,
371 ohci_platform_resume);
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100372
373static struct platform_driver ohci_platform_driver = {
374 .id_table = ohci_platform_table,
375 .probe = ohci_platform_probe,
Bill Pemberton76904172012-11-19 13:21:08 -0500376 .remove = ohci_platform_remove,
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100377 .shutdown = usb_hcd_platform_shutdown,
378 .driver = {
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100379 .name = "ohci-platform",
380 .pm = &ohci_platform_pm_ops,
Hans de Goedeca52a172014-02-07 16:36:40 +0100381 .of_match_table = ohci_platform_ids,
Hauke Mehrtensfa3364b2012-03-13 01:04:47 +0100382 }
383};
Manjunath Goudar928fb682013-06-03 20:46:08 +0530384
385static int __init ohci_platform_init(void)
386{
387 if (usb_disabled())
388 return -ENODEV;
389
390 pr_info("%s: " DRIVER_DESC "\n", hcd_name);
391
392 ohci_init_driver(&ohci_platform_hc_driver, &platform_overrides);
393 return platform_driver_register(&ohci_platform_driver);
394}
395module_init(ohci_platform_init);
396
397static void __exit ohci_platform_cleanup(void)
398{
399 platform_driver_unregister(&ohci_platform_driver);
400}
401module_exit(ohci_platform_cleanup);
402
403MODULE_DESCRIPTION(DRIVER_DESC);
404MODULE_AUTHOR("Hauke Mehrtens");
405MODULE_AUTHOR("Alan Stern");
406MODULE_LICENSE("GPL");