linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.6.22-rc6] sata_inic162x: add big fat warning about broken LBA48 support
@ 2007-06-28 16:07 Tejun Heo
  2007-06-28 16:14 ` Greg Freemyer
  2007-06-28 17:50 ` Mark Lord
  0 siblings, 2 replies; 11+ messages in thread
From: Tejun Heo @ 2007-06-28 16:07 UTC (permalink / raw)
  To: Jeff Garzik, linux-ide@vger.kernel.org

sata_inic162x can't do LBA48 properly yet.  Whine loudly about it to
reduce confusion.

Signed-off-by: Tejun Heo <htejun@gmail.com>
---
 drivers/ata/sata_inic162x.c |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Index: work/drivers/ata/sata_inic162x.c
===================================================================
--- work.orig/drivers/ata/sata_inic162x.c
+++ work/drivers/ata/sata_inic162x.c
@@ -664,8 +664,12 @@ static int inic_init_one(struct pci_dev 
 	void __iomem * const *iomap;
 	int i, rc;
 
-	if (!printed_version++)
+	if (!printed_version++) {
 		dev_printk(KERN_DEBUG, &pdev->dev, "version " DRV_VERSION "\n");
+		printk(KERN_WARNING "WARNING: sata_inic162x doesn't support "
+		       "LBA48 yet. Devices larger than\n         "
+		       "2^28 - 1 sectors (~127GiB) won't work.\n");
+	}
 
 	/* alloc host */
 	host = ata_host_alloc_pinfo(&pdev->dev, ppi, NR_PORTS);

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-06-29  1:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-28 16:07 [PATCH 2.6.22-rc6] sata_inic162x: add big fat warning about broken LBA48 support Tejun Heo
2007-06-28 16:14 ` Greg Freemyer
2007-06-28 16:27   ` Tejun Heo
2007-06-28 16:35     ` Alan Cox
2007-06-28 16:59     ` Greg Freemyer
2007-06-28 17:50 ` Mark Lord
2007-06-28 17:51   ` Jeff Garzik
2007-06-28 17:53     ` Tejun Heo
2007-06-28 17:55       ` Jeff Garzik
2007-06-29  1:15         ` Mark Lord
2007-06-29  1:32           ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).