summaryrefslogtreecommitdiffstats
path: root/backend_mitsu9550.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2018-09-22 09:11:14 -0400
committerSolomon Peachy <pizza@shaftnet.org>2018-09-22 09:11:14 -0400
commit47512cb277ec971e6d0a17cdf86de4e72ca65ea2 (patch)
tree2495ec3adef33a36a1308c5869b3407688c01b0a /backend_mitsu9550.c
parent8bf63e20ec05b6ec0f7db0ac5cd89acf87be0c50 (diff)
downloadselphy_print-47512cb277ec971e6d0a17cdf86de4e72ca65ea2.tar.gz
selphy_print-47512cb277ec971e6d0a17cdf86de4e72ca65ea2.tar.bz2
selphy_print-47512cb277ec971e6d0a17cdf86de4e72ca65ea2.zip
all: Revamp "backend names" to align with gutenprint model names.
Should have done this to begin with, whoops. (All old names are retained for backwards compatibility)
Diffstat (limited to 'backend_mitsu9550.c')
-rw-r--r--backend_mitsu9550.c36
1 files changed, 22 insertions, 14 deletions
diff --git a/backend_mitsu9550.c b/backend_mitsu9550.c
index 36aa34c..9a74462 100644
--- a/backend_mitsu9550.c
+++ b/backend_mitsu9550.c
@@ -1720,7 +1720,15 @@ static int mitsu9550_query_markers(void *vctx, struct marker **markers, int *cou
}
static const char *mitsu9550_prefixes[] = {
- "mitsu9xxx",
+ "mitsu9xxx", // Family driver, do not nuke.
+ "mitsubishi-9000dw", "mitsubishi-9500dw",
+ "mitsubishi-9550dw", "mitsubishi-9550dw-s",
+ "mitsubishi-9600dw", // "mitsubishi-9600dw-s",
+ "mitsubishi-9800dw", "mitsubishi-9800dw-s",
+ "mitsubishi-9810dw",
+ // extras
+ "mitsubishi-9550d", "mitsubishi-9550dz", "mitsubishi-9800d", "mitsubishi-9800dz", "mitsubishi-9810d",
+ // Backwards compatibility
"mitsu9000", "mitsu9500", "mitsu9550", "mitsu9600", "mitsu9800", "mitsu9810",
NULL
};
@@ -1728,7 +1736,7 @@ static const char *mitsu9550_prefixes[] = {
/* Exported */
struct dyesub_backend mitsu9550_backend = {
.name = "Mitsubishi CP9xxx family",
- .version = "0.40",
+ .version = "0.41",
.uri_prefixes = mitsu9550_prefixes,
.cmdline_usage = mitsu9550_cmdline,
.cmdline_arg = mitsu9550_cmdline_arg,
@@ -1741,18 +1749,18 @@ struct dyesub_backend mitsu9550_backend = {
.query_serno = mitsu9550_query_serno,
.query_markers = mitsu9550_query_markers,
.devices = {
- { USB_VID_MITSU, USB_PID_MITSU_9000AM, P_MITSU_9550, NULL, "mitsu9000"},
- { USB_VID_MITSU, USB_PID_MITSU_9000D, P_MITSU_9550, NULL, "mitsu9000"},
- { USB_VID_MITSU, USB_PID_MITSU_9500D, P_MITSU_9550, NULL, "mitsu9500"},
- { USB_VID_MITSU, USB_PID_MITSU_9550D, P_MITSU_9550, NULL, "mitsu9550"},
- { USB_VID_MITSU, USB_PID_MITSU_9550DS, P_MITSU_9550S, NULL, "mitsu9550"},
- { USB_VID_MITSU, USB_PID_MITSU_9600D, P_MITSU_9600, NULL, "mitsu9600"},
-// { USB_VID_MITSU, USB_PID_MITSU_9600D, P_MITSU_9600S, NULL, "mitsu9600"},
- { USB_VID_MITSU, USB_PID_MITSU_9800D, P_MITSU_9800, NULL, "mitsu9800"},
- { USB_VID_MITSU, USB_PID_MITSU_9800DS, P_MITSU_9800S, NULL, "mitsu9800"},
- { USB_VID_MITSU, USB_PID_MITSU_98__D, P_MITSU_9810, NULL, "mitsu9810"},
-// { USB_VID_MITSU, USB_PID_MITSU_9810D, P_MITSU_9810, NULL, "mitsu9810"},
-// { USB_VID_MITSU, USB_PID_MITSU_9820DS, P_MITSU_9820S, NULL, "mitsu9820"}, // XXX add "mitsu9820"
+ { USB_VID_MITSU, USB_PID_MITSU_9000AM, P_MITSU_9550, NULL, "mitsubishi-9000dw"}, // XXX -am instead?
+ { USB_VID_MITSU, USB_PID_MITSU_9000D, P_MITSU_9550, NULL, "mitsubishi-9000dw"},
+ { USB_VID_MITSU, USB_PID_MITSU_9500D, P_MITSU_9550, NULL, "mitsubishi-9500dw"},
+ { USB_VID_MITSU, USB_PID_MITSU_9550D, P_MITSU_9550, NULL, "mitsubishi-9550dw"},
+ { USB_VID_MITSU, USB_PID_MITSU_9550DS, P_MITSU_9550S, NULL, "mitsubishi-9550dw-s"},
+ { USB_VID_MITSU, USB_PID_MITSU_9600D, P_MITSU_9600, NULL, "mitsubishi-9600dw"},
+// { USB_VID_MITSU, USB_PID_MITSU_9600D, P_MITSU_9600S, NULL, "mitsubishi-9600dw-s"},
+ { USB_VID_MITSU, USB_PID_MITSU_9800D, P_MITSU_9800, NULL, "mitsubishi-9800dw"},
+ { USB_VID_MITSU, USB_PID_MITSU_9800DS, P_MITSU_9800S, NULL, "mitsubishi-9800dw-s"},
+ { USB_VID_MITSU, USB_PID_MITSU_98__D, P_MITSU_9810, NULL, "mitsubishi-9810dw"},
+// { USB_VID_MITSU, USB_PID_MITSU_9810D, P_MITSU_9810, NULL, "mitsubishi-9810dw"},
+// { USB_VID_MITSU, USB_PID_MITSU_9820DS, P_MITSU_9820S, NULL, "mitsubishi-9820dw-s"},
{ 0, 0, 0, NULL, NULL}
}
};