mwavedd.c (7a9787e1eba95a166265e6a260cf30af04ef0a99) mwavedd.c (24d254759dc4eb59b47317790c05569f732a2577)
1/*
2*
3* mwavedd.c -- mwave device driver
4*
5*
6* Written By: Mike Sullivan IBM Corporation
7*
8* Copyright (C) 1999 IBM Corporation

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

658 " Failed to register serial driver\n");
659 goto cleanup_error;
660 }
661 /* uart is registered */
662
663#if 0
664 /* sysfs */
665 memset(&mwave_device, 0, sizeof (struct device));
1/*
2*
3* mwavedd.c -- mwave device driver
4*
5*
6* Written By: Mike Sullivan IBM Corporation
7*
8* Copyright (C) 1999 IBM Corporation

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

658 " Failed to register serial driver\n");
659 goto cleanup_error;
660 }
661 /* uart is registered */
662
663#if 0
664 /* sysfs */
665 memset(&mwave_device, 0, sizeof (struct device));
666 snprintf(mwave_device.bus_id, BUS_ID_SIZE, "mwave");
666 dev_set_name(&mwave_device, "mwave");
667
668 if (device_register(&mwave_device))
669 goto cleanup_error;
670 pDrvData->device_registered = TRUE;
671 for (i = 0; i < ARRAY_SIZE(mwave_dev_attrs); i++) {
672 if(device_create_file(&mwave_device, mwave_dev_attrs[i])) {
673 PRINTK_ERROR(KERN_ERR_MWAVE
674 "mwavedd:mwave_init: Error:"

--- 22 unchanged lines hidden ---
667
668 if (device_register(&mwave_device))
669 goto cleanup_error;
670 pDrvData->device_registered = TRUE;
671 for (i = 0; i < ARRAY_SIZE(mwave_dev_attrs); i++) {
672 if(device_create_file(&mwave_device, mwave_dev_attrs[i])) {
673 PRINTK_ERROR(KERN_ERR_MWAVE
674 "mwavedd:mwave_init: Error:"

--- 22 unchanged lines hidden ---