Thanks, this kind of gives a different way to do this, iam sure it works for us as well.
Cheers, ashok raj - Open Source Technology Center >-----Original Message----- >From: James.McPherson at Sun.COM [mailto:James.McPherson at Sun.COM] >Sent: Wednesday, March 19, 2008 7:17 AM >To: Raj, Ashok >Cc: on-discuss at opensolaris.org >Subject: Re: [on-discuss] any ddi's to upload microcode files? > >Raj, Ashok wrote: >> Hi >> >> There are some devices that need microcode files to be uploaded. We have >> a similar situation with cpu microcode and we used kobj_open/kobj_read >> in the kernel. >> >> Is it acceptable for device drivers to do the same? For e.g a wireless >> nic driver that needs sort of the same functionality. Today we are >> including the ucode in the driver that seems ugly. (not that they get >> changed very often, but still....) >> >> I hear that this would be discouraged to use any other than the ddi >> framework calls. > >Hi Ashok, >you should have a look into PSARC/2008/198 >http://opensolaris.org/os/community/arc/caselog/2008/198 > > > >James C. McPherson >-- >Senior Kernel Software Engineer, Solaris >Sun Microsystems >http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog
