Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 1 | /* |
| 2 | * platform.c - DesignWare HS OTG Controller platform driver |
| 3 | * |
| 4 | * Copyright (C) Matthijs Kooijman <matthijs@stdin.nl> |
| 5 | * |
| 6 | * Redistribution and use in source and binary forms, with or without |
| 7 | * modification, are permitted provided that the following conditions |
| 8 | * are met: |
| 9 | * 1. Redistributions of source code must retain the above copyright |
| 10 | * notice, this list of conditions, and the following disclaimer, |
| 11 | * without modification. |
| 12 | * 2. Redistributions in binary form must reproduce the above copyright |
| 13 | * notice, this list of conditions and the following disclaimer in the |
| 14 | * documentation and/or other materials provided with the distribution. |
| 15 | * 3. The names of the above-listed copyright holders may not be used |
| 16 | * to endorse or promote products derived from this software without |
| 17 | * specific prior written permission. |
| 18 | * |
| 19 | * ALTERNATIVELY, this software may be distributed under the terms of the |
| 20 | * GNU General Public License ("GPL") as published by the Free Software |
| 21 | * Foundation; either version 2 of the License, or (at your option) any |
| 22 | * later version. |
| 23 | * |
| 24 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS |
| 25 | * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, |
| 26 | * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 27 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR |
| 28 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 29 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 30 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 31 | * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
| 32 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
| 33 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 34 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 35 | */ |
| 36 | |
| 37 | #include <linux/kernel.h> |
| 38 | #include <linux/module.h> |
| 39 | #include <linux/slab.h> |
| 40 | #include <linux/device.h> |
| 41 | #include <linux/dma-mapping.h> |
Stephen Warren | 831eae6 | 2013-11-26 18:58:01 -0700 | [diff] [blame] | 42 | #include <linux/of_device.h> |
Marek Szyprowski | 7ad8096 | 2014-11-21 15:14:48 +0100 | [diff] [blame] | 43 | #include <linux/mutex.h> |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 44 | #include <linux/platform_device.h> |
| 45 | |
Kever Yang | c0155b9 | 2014-08-06 09:01:50 +0800 | [diff] [blame] | 46 | #include <linux/usb/of.h> |
| 47 | |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 48 | #include "core.h" |
| 49 | #include "hcd.h" |
Mian Yousaf Kaukab | f91eea4 | 2015-04-29 22:08:59 +0200 | [diff] [blame] | 50 | #include "debug.h" |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 51 | |
| 52 | static const char dwc2_driver_name[] = "dwc2"; |
| 53 | |
Stephen Warren | 831eae6 | 2013-11-26 18:58:01 -0700 | [diff] [blame] | 54 | static const struct dwc2_core_params params_bcm2835 = { |
| 55 | .otg_cap = 0, /* HNP/SRP capable */ |
| 56 | .otg_ver = 0, /* 1.3 */ |
| 57 | .dma_enable = 1, |
| 58 | .dma_desc_enable = 0, |
| 59 | .speed = 0, /* High Speed */ |
| 60 | .enable_dynamic_fifo = 1, |
| 61 | .en_multiple_tx_fifo = 1, |
| 62 | .host_rx_fifo_size = 774, /* 774 DWORDs */ |
| 63 | .host_nperio_tx_fifo_size = 256, /* 256 DWORDs */ |
| 64 | .host_perio_tx_fifo_size = 512, /* 512 DWORDs */ |
| 65 | .max_transfer_size = 65535, |
| 66 | .max_packet_count = 511, |
| 67 | .host_channels = 8, |
| 68 | .phy_type = 1, /* UTMI */ |
| 69 | .phy_utmi_width = 8, /* 8 bits */ |
| 70 | .phy_ulpi_ddr = 0, /* Single */ |
| 71 | .phy_ulpi_ext_vbus = 0, |
| 72 | .i2c_enable = 0, |
| 73 | .ulpi_fs_ls = 0, |
| 74 | .host_support_fs_ls_low_power = 0, |
| 75 | .host_ls_low_power_phy_clk = 0, /* 48 MHz */ |
| 76 | .ts_dline = 0, |
| 77 | .reload_ctl = 0, |
| 78 | .ahbcfg = 0x10, |
Stephen Warren | 58b179d | 2013-12-03 20:56:05 -0700 | [diff] [blame] | 79 | .uframe_sched = 0, |
Gregory Herrero | a6d249d | 2015-04-29 22:09:04 +0200 | [diff] [blame] | 80 | .external_id_pin_ctl = -1, |
Stephen Warren | 831eae6 | 2013-11-26 18:58:01 -0700 | [diff] [blame] | 81 | }; |
| 82 | |
Kever Yang | 9508314 | 2014-08-08 11:55:57 +0800 | [diff] [blame] | 83 | static const struct dwc2_core_params params_rk3066 = { |
| 84 | .otg_cap = 2, /* non-HNP/non-SRP */ |
| 85 | .otg_ver = -1, |
| 86 | .dma_enable = -1, |
| 87 | .dma_desc_enable = 0, |
| 88 | .speed = -1, |
| 89 | .enable_dynamic_fifo = 1, |
| 90 | .en_multiple_tx_fifo = -1, |
| 91 | .host_rx_fifo_size = 520, /* 520 DWORDs */ |
| 92 | .host_nperio_tx_fifo_size = 128, /* 128 DWORDs */ |
| 93 | .host_perio_tx_fifo_size = 256, /* 256 DWORDs */ |
| 94 | .max_transfer_size = 65535, |
| 95 | .max_packet_count = -1, |
| 96 | .host_channels = -1, |
| 97 | .phy_type = -1, |
| 98 | .phy_utmi_width = -1, |
| 99 | .phy_ulpi_ddr = -1, |
| 100 | .phy_ulpi_ext_vbus = -1, |
| 101 | .i2c_enable = -1, |
| 102 | .ulpi_fs_ls = -1, |
| 103 | .host_support_fs_ls_low_power = -1, |
| 104 | .host_ls_low_power_phy_clk = -1, |
| 105 | .ts_dline = -1, |
| 106 | .reload_ctl = -1, |
| 107 | .ahbcfg = 0x7, /* INCR16 */ |
| 108 | .uframe_sched = -1, |
Gregory Herrero | a6d249d | 2015-04-29 22:09:04 +0200 | [diff] [blame] | 109 | .external_id_pin_ctl = -1, |
Kever Yang | 9508314 | 2014-08-08 11:55:57 +0800 | [diff] [blame] | 110 | }; |
| 111 | |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 112 | /** |
| 113 | * dwc2_driver_remove() - Called when the DWC_otg core is unregistered with the |
| 114 | * DWC_otg driver |
| 115 | * |
| 116 | * @dev: Platform device |
| 117 | * |
| 118 | * This routine is called, for example, when the rmmod command is executed. The |
| 119 | * device may or may not be electrically present. If it is present, the driver |
| 120 | * stops device processing. Any resources used on behalf of this device are |
| 121 | * freed. |
| 122 | */ |
| 123 | static int dwc2_driver_remove(struct platform_device *dev) |
| 124 | { |
| 125 | struct dwc2_hsotg *hsotg = platform_get_drvdata(dev); |
| 126 | |
Mian Yousaf Kaukab | f91eea4 | 2015-04-29 22:08:59 +0200 | [diff] [blame] | 127 | dwc2_debugfs_exit(hsotg); |
Marek Szyprowski | e39af88 | 2015-03-10 13:41:10 +0100 | [diff] [blame] | 128 | if (hsotg->hcd_enabled) |
| 129 | dwc2_hcd_remove(hsotg); |
| 130 | if (hsotg->gadget_enabled) |
| 131 | s3c_hsotg_remove(hsotg); |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 132 | |
| 133 | return 0; |
| 134 | } |
| 135 | |
Stephen Warren | 831eae6 | 2013-11-26 18:58:01 -0700 | [diff] [blame] | 136 | static const struct of_device_id dwc2_of_match_table[] = { |
| 137 | { .compatible = "brcm,bcm2835-usb", .data = ¶ms_bcm2835 }, |
Kever Yang | 9508314 | 2014-08-08 11:55:57 +0800 | [diff] [blame] | 138 | { .compatible = "rockchip,rk3066-usb", .data = ¶ms_rk3066 }, |
Stephen Warren | 831eae6 | 2013-11-26 18:58:01 -0700 | [diff] [blame] | 139 | { .compatible = "snps,dwc2", .data = NULL }, |
Dinh Nguyen | 117777b | 2014-11-11 11:13:34 -0600 | [diff] [blame] | 140 | { .compatible = "samsung,s3c6400-hsotg", .data = NULL}, |
Stephen Warren | 831eae6 | 2013-11-26 18:58:01 -0700 | [diff] [blame] | 141 | {}, |
| 142 | }; |
| 143 | MODULE_DEVICE_TABLE(of, dwc2_of_match_table); |
| 144 | |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 145 | /** |
| 146 | * dwc2_driver_probe() - Called when the DWC_otg core is bound to the DWC_otg |
| 147 | * driver |
| 148 | * |
| 149 | * @dev: Platform device |
| 150 | * |
| 151 | * This routine creates the driver components required to control the device |
| 152 | * (core, HCD, and PCD) and initializes the device. The driver components are |
| 153 | * stored in a dwc2_hsotg structure. A reference to the dwc2_hsotg is saved |
| 154 | * in the device private data. This allows the driver to access the dwc2_hsotg |
| 155 | * structure on subsequent calls to driver methods for this device. |
| 156 | */ |
| 157 | static int dwc2_driver_probe(struct platform_device *dev) |
| 158 | { |
Stephen Warren | 831eae6 | 2013-11-26 18:58:01 -0700 | [diff] [blame] | 159 | const struct of_device_id *match; |
| 160 | const struct dwc2_core_params *params; |
| 161 | struct dwc2_core_params defparams; |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 162 | struct dwc2_hsotg *hsotg; |
| 163 | struct resource *res; |
Yunzhi Li | 135b3c4 | 2014-12-08 17:46:26 +0800 | [diff] [blame] | 164 | struct phy *phy; |
| 165 | struct usb_phy *uphy; |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 166 | int retval; |
| 167 | int irq; |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 168 | |
Stephen Warren | 831eae6 | 2013-11-26 18:58:01 -0700 | [diff] [blame] | 169 | match = of_match_device(dwc2_of_match_table, &dev->dev); |
| 170 | if (match && match->data) { |
| 171 | params = match->data; |
| 172 | } else { |
| 173 | /* Default all params to autodetect */ |
| 174 | dwc2_set_all_params(&defparams, -1); |
| 175 | params = &defparams; |
Dinh Nguyen | 8b3e233 | 2014-05-07 08:30:33 -0500 | [diff] [blame] | 176 | |
| 177 | /* |
| 178 | * Disable descriptor dma mode by default as the HW can support |
| 179 | * it, but does not support it for SPLIT transactions. |
| 180 | */ |
| 181 | defparams.dma_desc_enable = 0; |
Stephen Warren | 831eae6 | 2013-11-26 18:58:01 -0700 | [diff] [blame] | 182 | } |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 183 | |
| 184 | hsotg = devm_kzalloc(&dev->dev, sizeof(*hsotg), GFP_KERNEL); |
| 185 | if (!hsotg) |
| 186 | return -ENOMEM; |
| 187 | |
| 188 | hsotg->dev = &dev->dev; |
| 189 | |
Matthijs Kooijman | 642f2ec | 2013-05-17 10:52:55 +0200 | [diff] [blame] | 190 | /* |
| 191 | * Use reasonable defaults so platforms don't have to provide these. |
| 192 | */ |
| 193 | if (!dev->dev.dma_mask) |
| 194 | dev->dev.dma_mask = &dev->dev.coherent_dma_mask; |
Russell King | 4cdbb4f | 2013-06-10 16:56:16 +0100 | [diff] [blame] | 195 | retval = dma_set_coherent_mask(&dev->dev, DMA_BIT_MASK(32)); |
| 196 | if (retval) |
| 197 | return retval; |
Matthijs Kooijman | 642f2ec | 2013-05-17 10:52:55 +0200 | [diff] [blame] | 198 | |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 199 | irq = platform_get_irq(dev, 0); |
| 200 | if (irq < 0) { |
| 201 | dev_err(&dev->dev, "missing IRQ resource\n"); |
Rashika Kheria | 097f261 | 2013-10-26 23:12:19 +0530 | [diff] [blame] | 202 | return irq; |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 203 | } |
| 204 | |
Dinh Nguyen | db8178c | 2014-11-11 11:13:37 -0600 | [diff] [blame] | 205 | dev_dbg(hsotg->dev, "registering common handler for irq%d\n", |
| 206 | irq); |
| 207 | retval = devm_request_irq(hsotg->dev, irq, |
| 208 | dwc2_handle_common_intr, IRQF_SHARED, |
| 209 | dev_name(hsotg->dev), hsotg); |
| 210 | if (retval) |
| 211 | return retval; |
| 212 | |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 213 | res = platform_get_resource(dev, IORESOURCE_MEM, 0); |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 214 | hsotg->regs = devm_ioremap_resource(&dev->dev, res); |
| 215 | if (IS_ERR(hsotg->regs)) |
| 216 | return PTR_ERR(hsotg->regs); |
| 217 | |
| 218 | dev_dbg(&dev->dev, "mapped PA %08lx to VA %p\n", |
| 219 | (unsigned long)res->start, hsotg->regs); |
| 220 | |
Kever Yang | c0155b9 | 2014-08-06 09:01:50 +0800 | [diff] [blame] | 221 | hsotg->dr_mode = of_usb_get_dr_mode(dev->dev.of_node); |
| 222 | |
Yunzhi Li | 135b3c4 | 2014-12-08 17:46:26 +0800 | [diff] [blame] | 223 | /* |
| 224 | * Attempt to find a generic PHY, then look for an old style |
| 225 | * USB PHY |
| 226 | */ |
| 227 | phy = devm_phy_get(&dev->dev, "usb2-phy"); |
| 228 | if (IS_ERR(phy)) { |
| 229 | hsotg->phy = NULL; |
| 230 | uphy = devm_usb_get_phy(&dev->dev, USB_PHY_TYPE_USB2); |
| 231 | if (IS_ERR(uphy)) |
| 232 | hsotg->uphy = NULL; |
| 233 | else |
| 234 | hsotg->uphy = uphy; |
| 235 | } else { |
| 236 | hsotg->phy = phy; |
| 237 | phy_power_on(hsotg->phy); |
| 238 | phy_init(hsotg->phy); |
| 239 | } |
| 240 | |
Dinh Nguyen | 117777b | 2014-11-11 11:13:34 -0600 | [diff] [blame] | 241 | spin_lock_init(&hsotg->lock); |
Marek Szyprowski | 7ad8096 | 2014-11-21 15:14:48 +0100 | [diff] [blame] | 242 | mutex_init(&hsotg->init_mutex); |
Marek Szyprowski | e39af88 | 2015-03-10 13:41:10 +0100 | [diff] [blame] | 243 | |
Mian Yousaf Kaukab | ecb176c | 2015-04-29 22:09:05 +0200 | [diff] [blame^] | 244 | /* Detect config values from hardware */ |
| 245 | retval = dwc2_get_hwparams(hsotg); |
| 246 | if (retval) |
| 247 | return retval; |
| 248 | |
| 249 | hsotg->core_params = devm_kzalloc(&dev->dev, |
| 250 | sizeof(*hsotg->core_params), GFP_KERNEL); |
| 251 | if (!hsotg->core_params) |
| 252 | return -ENOMEM; |
| 253 | |
| 254 | dwc2_set_all_params(hsotg->core_params, -1); |
| 255 | |
| 256 | /* Validate parameter values */ |
| 257 | dwc2_set_parameters(hsotg, params); |
| 258 | |
Marek Szyprowski | e39af88 | 2015-03-10 13:41:10 +0100 | [diff] [blame] | 259 | if (hsotg->dr_mode != USB_DR_MODE_HOST) { |
| 260 | retval = dwc2_gadget_init(hsotg, irq); |
| 261 | if (retval) |
| 262 | return retval; |
| 263 | hsotg->gadget_enabled = 1; |
| 264 | } |
| 265 | |
| 266 | if (hsotg->dr_mode != USB_DR_MODE_PERIPHERAL) { |
Mian Yousaf Kaukab | ecb176c | 2015-04-29 22:09:05 +0200 | [diff] [blame^] | 267 | retval = dwc2_hcd_init(hsotg, irq); |
Marek Szyprowski | e39af88 | 2015-03-10 13:41:10 +0100 | [diff] [blame] | 268 | if (retval) { |
| 269 | if (hsotg->gadget_enabled) |
| 270 | s3c_hsotg_remove(hsotg); |
| 271 | return retval; |
| 272 | } |
| 273 | hsotg->hcd_enabled = 1; |
| 274 | } |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 275 | |
| 276 | platform_set_drvdata(dev, hsotg); |
| 277 | |
Mian Yousaf Kaukab | f91eea4 | 2015-04-29 22:08:59 +0200 | [diff] [blame] | 278 | dwc2_debugfs_init(hsotg); |
| 279 | |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 280 | return retval; |
| 281 | } |
| 282 | |
Fabio Estevam | da9f328 | 2014-11-19 12:37:53 -0200 | [diff] [blame] | 283 | static int __maybe_unused dwc2_suspend(struct device *dev) |
Dinh Nguyen | 117777b | 2014-11-11 11:13:34 -0600 | [diff] [blame] | 284 | { |
Dinh Nguyen | bcc0607 | 2014-11-11 11:13:35 -0600 | [diff] [blame] | 285 | struct dwc2_hsotg *dwc2 = dev_get_drvdata(dev); |
Dinh Nguyen | 117777b | 2014-11-11 11:13:34 -0600 | [diff] [blame] | 286 | int ret = 0; |
| 287 | |
Yunzhi Li | 135b3c4 | 2014-12-08 17:46:26 +0800 | [diff] [blame] | 288 | if (dwc2_is_device_mode(dwc2)) { |
Dinh Nguyen | 117777b | 2014-11-11 11:13:34 -0600 | [diff] [blame] | 289 | ret = s3c_hsotg_suspend(dwc2); |
Yunzhi Li | 135b3c4 | 2014-12-08 17:46:26 +0800 | [diff] [blame] | 290 | } else { |
| 291 | if (dwc2->lx_state == DWC2_L0) |
| 292 | return 0; |
| 293 | phy_exit(dwc2->phy); |
| 294 | phy_power_off(dwc2->phy); |
| 295 | |
| 296 | } |
Dinh Nguyen | 117777b | 2014-11-11 11:13:34 -0600 | [diff] [blame] | 297 | return ret; |
| 298 | } |
| 299 | |
Fabio Estevam | da9f328 | 2014-11-19 12:37:53 -0200 | [diff] [blame] | 300 | static int __maybe_unused dwc2_resume(struct device *dev) |
Dinh Nguyen | 117777b | 2014-11-11 11:13:34 -0600 | [diff] [blame] | 301 | { |
Dinh Nguyen | bcc0607 | 2014-11-11 11:13:35 -0600 | [diff] [blame] | 302 | struct dwc2_hsotg *dwc2 = dev_get_drvdata(dev); |
Dinh Nguyen | 117777b | 2014-11-11 11:13:34 -0600 | [diff] [blame] | 303 | int ret = 0; |
| 304 | |
Yunzhi Li | 135b3c4 | 2014-12-08 17:46:26 +0800 | [diff] [blame] | 305 | if (dwc2_is_device_mode(dwc2)) { |
Dinh Nguyen | 117777b | 2014-11-11 11:13:34 -0600 | [diff] [blame] | 306 | ret = s3c_hsotg_resume(dwc2); |
Yunzhi Li | 135b3c4 | 2014-12-08 17:46:26 +0800 | [diff] [blame] | 307 | } else { |
| 308 | phy_power_on(dwc2->phy); |
| 309 | phy_init(dwc2->phy); |
| 310 | |
| 311 | } |
Dinh Nguyen | 117777b | 2014-11-11 11:13:34 -0600 | [diff] [blame] | 312 | return ret; |
| 313 | } |
| 314 | |
Dinh Nguyen | bcc0607 | 2014-11-11 11:13:35 -0600 | [diff] [blame] | 315 | static const struct dev_pm_ops dwc2_dev_pm_ops = { |
| 316 | SET_SYSTEM_SLEEP_PM_OPS(dwc2_suspend, dwc2_resume) |
| 317 | }; |
| 318 | |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 319 | static struct platform_driver dwc2_platform_driver = { |
| 320 | .driver = { |
Geert Uytterhoeven | 1c126bc | 2013-11-12 20:07:19 +0100 | [diff] [blame] | 321 | .name = dwc2_driver_name, |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 322 | .of_match_table = dwc2_of_match_table, |
Dinh Nguyen | bcc0607 | 2014-11-11 11:13:35 -0600 | [diff] [blame] | 323 | .pm = &dwc2_dev_pm_ops, |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 324 | }, |
| 325 | .probe = dwc2_driver_probe, |
| 326 | .remove = dwc2_driver_remove, |
Matthijs Kooijman | 5b9974b | 2013-04-22 14:00:19 -0700 | [diff] [blame] | 327 | }; |
| 328 | |
| 329 | module_platform_driver(dwc2_platform_driver); |
| 330 | |
| 331 | MODULE_DESCRIPTION("DESIGNWARE HS OTG Platform Glue"); |
| 332 | MODULE_AUTHOR("Matthijs Kooijman <matthijs@stdin.nl>"); |
| 333 | MODULE_LICENSE("Dual BSD/GPL"); |