Thread (11 messages) 11 messages, 5 authors, 2007-06-29
STALE6967d

[PATCH 2.6.22-rc6] sata_inic162x: add big fat warning about broken LBA48 support

From: Tejun Heo <hidden>
Date: 2007-06-28 16:07:53

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

Signed-off-by: Tejun Heo <redacted>
---
 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);
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help