Update of /cvsroot/gc-linux/linux/include/asm-powerpc
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv22420/include/asm-powerpc
Modified Files:
starlet.h
Log Message:
Remove old ugecon driver (we use now usbgecko_udbg).
Rewrite the following drivers as of_platform drivers using the device tree:
- gcn-rsw
- starlet-ipc
- gcn-aram
- rvl-mem2
- gcn-di
- exi-driver, exi-hw
- gcn-si
- gcnfb (gcn-vifb)
- gcn-ai
Marked as broken gcn-mi and gcngx.
Updated defconfigs.
Index: starlet.h
===================================================================
RCS file: /cvsroot/gc-linux/linux/include/asm-powerpc/starlet.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- starlet.h 18 Mar 2008 18:57:18 -0000 1.1
+++ starlet.h 26 Mar 2008 20:15:23 -0000 1.2
@@ -25,9 +25,11 @@
#define STARLET_IPC_DMA_ALIGN 0x1f /* 32 bytes */
struct starlet_ipc_device {
- void __iomem *io_base;
unsigned long flags;
+ void __iomem *io_base;
+ int irq;
+
struct dma_pool *dma_pool;
spinlock_t list_lock;
@@ -36,21 +38,19 @@
struct list_head pending_list;
unsigned long nr_pending;
- struct platform_device pdev;
-};
+ struct device *dev;
-#define to_ipc_dev(n) container_of(n,struct starlet_ipc_device,pdev)
+};
/* from starlet-ipc.c */
extern struct starlet_ipc_device *starlet_ipc_get_device(void);
-
extern int starlet_ios_open(const char *pathname, int flags);
extern int starlet_ios_close(int fd);
extern int starlet_ios_ioctl(int fd, int request,
- dma_addr_t ibuf, size_t ilen,
- dma_addr_t obuf, size_t olen);
+ void *ibuf, size_t ilen,
+ void *obuf, size_t olen);
/* from starlet-stm.c */
|