Re: sata_inic162x LED enable request

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

 



Bob Stewart wrote:
> --- Tejun Heo <tj@xxxxxxxxxx> wrote:
>> Hmm... according to the datasheet, this is SWLED.
>>
>>   SOFTWARE CONTROL LED ENABLE: When set, software has full control of
>>   LED activity. When clear, the LED’s are controlled by hardware.
>>
>> And then there are two more bits, LED0 and LED1 which seem to be the
>> actual control knob for LEDs.  From the description it looks like the
>> bit should stay off so tha the controller hardware can drive LEDs.  I
>> presume this doesn't work as described?
> 
> Uh oh.  It sounds like we may not be looking at the same book.  The one
> I have is "INIC-1620TA2/1622TA2/1623TA2", Version 1.4, October, 2005.
> In this book, the bit is "03  rw  0  (LEDEN)  LED ENABLE: When set, the 
> LED will flash when the device is busy."  With your driver as-is, both LEDs
> turn on during the boot process and then stay on completely.  

Hmm... I have two - INIC-1622 V1.0 Septermber, 2003 and the one you
have.  Till now, I haven't found any noticeable difference.
Apparently, the meaning of the bit has changed.

> Which book are you using and are all these bits in the Global
> Control register, which we call HOST_CTL?  Did I get an old book?

Yes, that's GCTRL.  Can you please do the '+' -> '|' change and resend
the patch?

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux