lkml.org 
[lkml]   [2008]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] ata: ahci: power off unused ports
    On Fri, 9 May 2008 00:37:13 +0100
    Matthew Garrett <mjg59@srcf.ucam.org> wrote:

    > On Thu, May 08, 2008 at 04:10:08PM -0700, Kristen Carlson Accardi wrote:
    >
    > > +static int ahci_is_hotplug_capable(struct ata_port *ap)
    > > +{
    > > + void __iomem *port_mmio = ahci_port_base(ap);
    > > + u8 cmd;
    > > +
    > > + if (!ahci_power_save)
    > > + return 1;
    > > +
    > > + cmd = readl(port_mmio + PORT_CMD);
    > > + return ((cmd & PORT_CMD_HPCP) || (cmd & PORT_CMD_ESP));
    > > +}
    >
    > Just out of interest, is this set on laptop bays? (Are any of those even
    > native SATA yet?)

    I haven't seen any yet that are. Most of them are PATA. I expect
    that will change in the future.



    \
     
     \ /
      Last update: 2008-05-09 01:45    [W:0.027 / U:0.824 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site