diff options
Diffstat (limited to 'drivers/usb/misc/sisusbvga/sisusb_init.h')
-rw-r--r-- | drivers/usb/misc/sisusbvga/sisusb_init.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/drivers/usb/misc/sisusbvga/sisusb_init.h b/drivers/usb/misc/sisusbvga/sisusb_init.h index 5b11577835c8..f05f83268af4 100644 --- a/drivers/usb/misc/sisusbvga/sisusb_init.h +++ b/drivers/usb/misc/sisusbvga/sisusb_init.h | |||
@@ -690,7 +690,7 @@ static const struct SiS_CRT1Table SiSUSB_CRT1Table[] = | |||
690 | 0x41}} /* 0x54 */ | 690 | 0x41}} /* 0x54 */ |
691 | }; | 691 | }; |
692 | 692 | ||
693 | static struct SiS_VCLKData SiSUSB_VCLKData[] = | 693 | static const struct SiS_VCLKData SiSUSB_VCLKData[] = |
694 | { | 694 | { |
695 | { 0x1b,0xe1, 25}, /* 0x00 */ | 695 | { 0x1b,0xe1, 25}, /* 0x00 */ |
696 | { 0x4e,0xe4, 28}, /* 0x01 */ | 696 | { 0x4e,0xe4, 28}, /* 0x01 */ |
@@ -808,8 +808,8 @@ static struct SiS_VCLKData SiSUSB_VCLKData[] = | |||
808 | { 0x2b,0xc2, 35} /* 0x71 768@576@60 */ | 808 | { 0x2b,0xc2, 35} /* 0x71 768@576@60 */ |
809 | }; | 809 | }; |
810 | 810 | ||
811 | void SiSUSBRegInit(struct SiS_Private *SiS_Pr, unsigned long BaseAddr); | 811 | extern struct mutex disconnect_mutex; |
812 | unsigned short SiSUSB_GetModeID(int HDisplay, int VDisplay, int Depth); | 812 | |
813 | int SiSUSBSetMode(struct SiS_Private *SiS_Pr, unsigned short ModeNo); | 813 | int SiSUSBSetMode(struct SiS_Private *SiS_Pr, unsigned short ModeNo); |
814 | int SiSUSBSetVESAMode(struct SiS_Private *SiS_Pr, unsigned short VModeNo); | 814 | int SiSUSBSetVESAMode(struct SiS_Private *SiS_Pr, unsigned short VModeNo); |
815 | 815 | ||
@@ -826,5 +826,19 @@ extern int sisusb_setidxregor(struct sisusb_usb_data *sisusb, int port, | |||
826 | extern int sisusb_setidxregand(struct sisusb_usb_data *sisusb, int port, | 826 | extern int sisusb_setidxregand(struct sisusb_usb_data *sisusb, int port, |
827 | u8 idx, u8 myand); | 827 | u8 idx, u8 myand); |
828 | 828 | ||
829 | void sisusb_delete(struct kref *kref); | ||
830 | int sisusb_writeb(struct sisusb_usb_data *sisusb, u32 adr, u8 data); | ||
831 | int sisusb_readb(struct sisusb_usb_data *sisusb, u32 adr, u8 *data); | ||
832 | int sisusb_copy_memory(struct sisusb_usb_data *sisusb, char *src, | ||
833 | u32 dest, int length, size_t *bytes_written); | ||
834 | int sisusb_reset_text_mode(struct sisusb_usb_data *sisusb, int init); | ||
835 | int sisusbcon_do_font_op(struct sisusb_usb_data *sisusb, int set, int slot, | ||
836 | u8 *arg, int cmapsz, int ch512, int dorecalc, | ||
837 | struct vc_data *c, int fh, int uplock); | ||
838 | void sisusb_set_cursor(struct sisusb_usb_data *sisusb, unsigned int location); | ||
839 | int sisusb_console_init(struct sisusb_usb_data *sisusb, int first, int last); | ||
840 | void sisusb_console_exit(struct sisusb_usb_data *sisusb); | ||
841 | void sisusb_init_concode(void); | ||
842 | |||
829 | #endif | 843 | #endif |
830 | 844 | ||