summaryrefslogtreecommitdiffstats
path: root/backend_kodak1400.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_kodak1400.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_kodak1400.c')
-rw-r--r--backend_kodak1400.c17
1 files changed, 11 insertions, 6 deletions
diff --git a/backend_kodak1400.c b/backend_kodak1400.c
index 30b7d57..c9ad58d 100644
--- a/backend_kodak1400.c
+++ b/backend_kodak1400.c
@@ -651,13 +651,18 @@ static int kodak1400_query_markers(void *vctx, struct marker **markers, int *cou
#define USB_PID_MITSU_3020DA 0x03AA
static const char *kodak1400_prefixes[] = {
- "kodak1400", "kodak805", "mitsu3020d", "mitsu3020da",
+ "kodak1400", // Family driver, do NOT nuke!
+ "kodak-1400", "kodak-805", "mitsubishi-3020d", "mitsubishi-3020da",
+ // backwards compatibility
+ "kodak805", "mitsu3020d", "mitsu3020da",
+ // Extras.
+ "mitsubishi-3020dae", "mitsubishi-3020de", "mitsubishi-3020du",
NULL,
};
struct dyesub_backend kodak1400_backend = {
.name = "Kodak 1400/805",
- .version = "0.38",
+ .version = "0.39",
.uri_prefixes = kodak1400_prefixes,
.cmdline_usage = kodak1400_cmdline,
.cmdline_arg = kodak1400_cmdline_arg,
@@ -669,10 +674,10 @@ struct dyesub_backend kodak1400_backend = {
.main_loop = kodak1400_main_loop,
.query_markers = kodak1400_query_markers,
.devices = {
- { USB_VID_KODAK, USB_PID_KODAK_1400, P_KODAK_1400_805, "Kodak", "kodak1400"},
- { USB_VID_KODAK, USB_PID_KODAK_805, P_KODAK_1400_805, "Kodak", "kodak805"},
- { USB_VID_MITSU, USB_PID_MITSU_3020D, P_KODAK_1400_805, NULL, "mitsu3020d"},
- { USB_VID_MITSU, USB_PID_MITSU_3020DA, P_KODAK_1400_805, NULL, "mitsu3020da" },
+ { USB_VID_KODAK, USB_PID_KODAK_1400, P_KODAK_1400_805, "Kodak", "kodak-1400"},
+ { USB_VID_KODAK, USB_PID_KODAK_805, P_KODAK_1400_805, "Kodak", "kodak-805"},
+ { USB_VID_MITSU, USB_PID_MITSU_3020D, P_KODAK_1400_805, NULL, "mitsubishi-3020d"},
+ { USB_VID_MITSU, USB_PID_MITSU_3020DA, P_KODAK_1400_805, NULL, "mitsubishi-3020da" },
{ 0, 0, 0, NULL, NULL}
}
};