kaweth.c (24942c8e5cc8696064ee207ff29d4cf21f70dafc) kaweth.c (d632eb1bf22e11def74e4e53cc47d790fbdba105)
1/****************************************************************
2 *
3 * kaweth.c - driver for KL5KUSB101 based USB->Ethernet
4 *
5 * (c) 2000 Interlan Communications
6 * (c) 2000 Stephane Alnet
7 * (C) 2001 Brad Hards
8 * (C) 2002 Oliver Neukum

--- 1310 unchanged lines hidden (view full) ---

1319 if (retv < 0) {
1320 return retv;
1321 }
1322 else {
1323 return length;
1324 }
1325}
1326
1/****************************************************************
2 *
3 * kaweth.c - driver for KL5KUSB101 based USB->Ethernet
4 *
5 * (c) 2000 Interlan Communications
6 * (c) 2000 Stephane Alnet
7 * (C) 2001 Brad Hards
8 * (C) 2002 Oliver Neukum

--- 1310 unchanged lines hidden (view full) ---

1319 if (retv < 0) {
1320 return retv;
1321 }
1322 else {
1323 return length;
1324 }
1325}
1326
1327
1328/****************************************************************
1329 * kaweth_init
1330 ****************************************************************/
1331static int __init kaweth_init(void)
1332{
1333 dbg("Driver loading");
1334 return usb_register(&kaweth_driver);
1335}
1336
1337/****************************************************************
1338 * kaweth_exit
1339 ****************************************************************/
1340static void __exit kaweth_exit(void)
1341{
1342 usb_deregister(&kaweth_driver);
1343}
1344
1345module_init(kaweth_init);
1346module_exit(kaweth_exit);
1347
1348
1349
1350
1351
1352
1353
1354
1355
1327module_usb_driver(kaweth_driver);