- Adapted indenation to new agreed upon system

- Fixed bad status in poldi zug driver
This commit is contained in:
koennecke
2009-02-13 09:01:03 +00:00
parent 6c7bb14fad
commit eb72d5c486
151 changed files with 38234 additions and 38208 deletions

View File

@ -55,33 +55,33 @@
# endif
#else
# define PDEBUG(fmt, args...) /* Nothing ... */
# define PDEBUG(fmt, args...) /* Nothing ... */
#endif
#undef PDEBUGG
#define PDEBUGG(fmt, args...) /* Nothing */
#define PDEBUGG(fmt, args...) /* Nothing */
#endif
struct ccd_capability {
char name[128]; /* Name of CCD chip */
int width; /* Sensible image width */
int height; /* Sensible image height */
int color; /* Has color */
int minwidth; /* Actual geometry frame width */
int minheight; /* Actual geometry frame height */
char name[128]; /* Name of CCD chip */
int width; /* Sensible image width */
int height; /* Sensible image height */
int color; /* Has color */
int minwidth; /* Actual geometry frame width */
int minheight; /* Actual geometry frame height */
};
/* IOCTL MACROS */
#define CCD_MGK 0xEE // Very high ... to register !!!!
#define CCD_MGK 0xEE // Very high ... to register !!!!
#define CCD_RD_CHIP _IOR(CCD_MGK, 0x01, struct ccd_capability)
#define CCD_RD_CCDL _IOR(CCD_MGK, 0x02, struct ccd_capability)
#define CCD_RD_GEOM _IOR(CCD_MGK, 0x03, struct ccd_capability)
#define CCD_RD_IMG _IOR(CCD_MGK, 0x04, unsigned long) /* Read image */
#define CCD_RD_IMG _IOR(CCD_MGK, 0x04, unsigned long) /* Read image */
#define CCD_CLR _IOW(CCD_MGK, 0x05, unsigned long) /* chip Clearing */
#define CCD_CLR _IOW(CCD_MGK, 0x05, unsigned long) /* chip Clearing */
#define CCD_SWTC_AMP _IOW(CCD_MGK, 0x06, unsigned long)
#define CCD_SWTC_SHT _IOW(CCD_MGK, 0x07, unsigned long)
@ -93,13 +93,13 @@ struct ccd_capability {
#define CCD_SET_AX0 _IOW(CCD_MGK, 0x0c, unsigned long)
#define CCD_SET_AX1 _IOW(CCD_MGK, 0x0d, unsigned long)
#define CCD_SET_BNN _IOW(CCD_MGK, 0x0e, struct ccd_capability) // Binning
#define CCD_SET_BNN _IOW(CCD_MGK, 0x0e, struct ccd_capability) // Binning
#define CCD_AV_IMG _IOR(CCD_MGK, 0x0f, unsigned long) // ma serve ????
#define CCD_SET_WND _IOW(CCD_MGK, 0x10, struct ccd_capability) // Window
#define CCD_RST_WND _IOW(CCD_MGK, 0x11, unsigned long) // CCD
#define CCD_SET_WND _IOW(CCD_MGK, 0x10, struct ccd_capability) // Window
#define CCD_RST_WND _IOW(CCD_MGK, 0x11, unsigned long) // CCD
#define CCD_SET_PRT _IOW(CCD_MGK, 0x12, unsigned long)
#define CCD_RD_VER _IOW(CCD_MGK, 0x13, struct ccd_capability) // Version
#define CCD_RD_VER _IOW(CCD_MGK, 0x13, struct ccd_capability) // Version