Re: [PATCH] MODE_SENSE: add support for mode subpages

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

 



On Sun, 29 Jul 2012 16:22:41 +1000
Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx> wrote:

> Add support for mode subpages.
> Change the modepages from an array of pointers to a linked list
> so that we can store an arbitrary number od mode pages with the same
> page code (but different subpage codes)
> 
> Add a simple modepage with a subpage code 0x0a/0x01 which is the
> ControlExtensions subpage.
> Have TCMOS set to 1 in this subpage.
> This value has the following meaning (SPC):
>         A timestamp changeable by methods outside this standard (TCMOS)
>         bit set to one specifies that the timestamp may
>         be initialized by methods outside the scope of this standard.
> 
> Which sounds appropriate since root or ntpd can change the
> local time on linux without first asking TGTD and SPC for permission first
> 
> Signed-off-by: Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx>
> ---
>  usr/bs_rdwr.c |   12 +++++++-
>  usr/mmc.c     |    4 ++-
>  usr/sbc.c     |   15 +++++++++--
>  usr/smc.c     |    8 ++++--
>  usr/spc.c     |   75 +++++++++++++++++++++++++++++++++++++-------------------
>  usr/spc.h     |    4 ++-
>  usr/ssc.c     |    4 ++-
>  usr/target.c  |    1 +
>  usr/tgtd.h    |    3 +-
>  9 files changed, 88 insertions(+), 38 deletions(-)

Applied, thanks a lot!
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux