|
Lines 800-811
static struct file_operations vhba_ctl_fops = {
Link Here
|
| 800 |
#endif |
800 |
#endif |
| 801 |
}; |
801 |
}; |
| 802 |
|
802 |
|
|
|
803 |
#define VHBA_MINOR 250 |
| 804 |
|
| 803 |
static struct miscdevice vhba_miscdev = { |
805 |
static struct miscdevice vhba_miscdev = { |
| 804 |
.minor = MISC_DYNAMIC_MINOR, |
806 |
.minor = VHBA_MINOR, |
| 805 |
.name = "vhba_ctl", |
807 |
.name = "vhba_ctl", |
| 806 |
.fops = &vhba_ctl_fops, |
808 |
.fops = &vhba_ctl_fops, |
| 807 |
}; |
809 |
}; |
| 808 |
|
810 |
|
|
|
811 |
MODULE_ALIAS_MISCDEV(VHBA_MINOR); |
| 812 |
MODULE_ALIAS("devname:vhba_ctl"); |
| 813 |
|
| 809 |
static int vhba_probe(struct platform_device *pdev) |
814 |
static int vhba_probe(struct platform_device *pdev) |
| 810 |
{ |
815 |
{ |
| 811 |
struct Scsi_Host *shost; |
816 |
struct Scsi_Host *shost; |