[PATCH] aacraid: Add kernel command line parameter parsing

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

 



One shortcoming of the driver relationship with the kernel is that there
is no standard means of having the insmod parameters associated with a
driver to also be parsed and set by the kernel parameter line. The
enclosed patch is a proposal for the aacraid driver to pick up the
kernel parameter line, parse it, and then adjust the insmod parameters.

The format of the kernel parameter line is
	aacraid=<parm>:<value>[,<parm>:<value>]...

There may be a better way of providing this service via the kernel
without any modifications from the driver, since all the characteristics
of the insmod parameters are exported by the MODULE_PARM_* hints. Would
such mods be in insmod/modprobe and not in the kernel or driver?

Signed-off-by Mark Salyzyn <aacraid@xxxxxxxxxxx>
---

Sincerely -- Mark Salyzyn
Illegitimi Non Carborundum

Attachment: aacraid_command_line.patch
Description: aacraid_command_line.patch


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux