RE: [PATCH -mm] sata_nv: fix ATAPI in ADMA mode

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

 



> >  static irqreturn_t nv_adma_interrupt(int irq, void *dev_instance)
> >  {
> >  	struct ata_host *host = dev_instance;
> >  	int i, handled = 0;
> > +	u32 notifier_clears[2];
> >  
> >  	spin_lock(&host->lock);
> >  
> >  	for (i = 0; i < host->n_ports; i++) {
> >  		struct ata_port *ap = host->ports[i];
> > +		notifier_clears[i] = 0;
> 
> Promise us that n_ports will never exceed 2?

I promise it will never exceed 2, at least as far as NVIDIA ADMA
hardware is concerned.
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux