Re: [patch 2.6.12-rc3] dell_rbu: Resubmitting patch for new Dell BIOS update driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Abhay,

> > static int __init dcdrbu_init(void)
> > {
> >         int rc = 0;
> >         const struct firmware *fw;
> > 
> >         device_initialize(&rbu_device_type);
> >         device_initialize(&rbu_device);
> > 
> >         strncpy(rbu_device.bus_id,"dell_rbu.bin", BUS_ID_SIZE);
> >         strncpy(rbu_device_type.bus_id,"dell_rbu1.bin", BUS_ID_SIZE);
> > 
> >         rc = request_firmware(&fw, "dell_rbu_type", &rbu_device_type);
> 
> Try registering the device with sysfs first.

and then you use the same device for both calls and put the firmware
names into the request_firmware() calls. This is the filename you are
going to request from userspace.

Regards

Marcel


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux