[BACK]Return to ds1wm.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / include / linux

File: [Development] / linux-2.6-xfs / include / linux / ds1wm.h (download)

Revision 1.1, Thu May 24 16:41:45 2007 UTC (10 years, 5 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN

Merge up to 2.6.22-rc2
Merge of 2.6.x-xfs-melb:linux:28675b by kenmcd.

/* platform data for the DS1WM driver */

struct ds1wm_platform_data {
	int bus_shift;	    /* number of shifts needed to calculate the
			     * offset between DS1WM registers;
			     * e.g. on h5xxx and h2200 this is 2
			     * (registers aligned to 4-byte boundaries),
			     * while on hx4700 this is 1 */
	void (*enable)(struct platform_device *pdev);
	void (*disable)(struct platform_device *pdev);
};