=================================================================== RCS file: /MkLinux/floppy-darwin/floppy.h,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- floppy-darwin/floppy.h 2002/03/14 10:51:47 1.12 +++ floppy-darwin/floppy.h 2002/03/21 21:48:38 1.13 @@ -23,6 +23,7 @@ #include #include #include +#include extern "C" { #define MACH_KERNEL #include "bus_device.h" @@ -31,7 +32,19 @@ class org_mklinux_iokit_swim3_driver : public IOService { OSDeclareDefaultStructors(org_mklinux_iokit_swim3_driver) -public: +private: + IOWorkLoop * workLoop; + IOInterruptEventSource * interruptSource; + IOInterruptEventSource * DMAinterruptSource; + org_mklinux_iokit_swim3_driver *swim3Instance; + + void handleInterrupt( IOInterruptEventSource *src, int /*count*/ ); + void handleDMAInterrupt( IOInterruptEventSource *src, int /*count*/ ); + +public: + + virtual bool createWorkLoop(); + virtual IOWorkLoop* getWorkLoop() const; AppleMacIODevice *DAG_Rules; struct bus_device *busdev; bool media_present;