Hi,



+    cgcr = readl(port_mmio(ap, PDC_GLOBAL_CTL));


I've read that read[bwl]() and write[bwl]() are deprecated and discouraged in new code and instead ioread{8,16,32}() and iowrite{8,16,32}() should be used. Is this the case?

BR

  I've read Linux Device Drivers 3rd Edition, it does say readx() and writex()
are deprecated. However, other libata drivers use readx() and writex(); and
io_read_x() and io_write_x() are not available on older kernel, say, 2.6.5.

So, I'm not sure. Maybe later Jeff will need all libata drivers to use
new io_read_x() and io_write_x() API?


Albert



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

Reply via email to