File: 02-ide-devices.patch

package info (click to toggle)
cdparanoia 3.10.2%2Bdebian-13
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,928 kB
  • sloc: ansic: 8,026; sh: 2,642; makefile: 11
file content (25 lines) | stat: -rw-r--r-- 690 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Steven Ihde <sihde@cs.stanford.edu>
Date: Tue, 30 Jan 2018 13:51:00 +0900
Subject: Adds support for higher ide devices.

---
 interface/scan_devices.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/interface/scan_devices.c b/interface/scan_devices.c
index fc58110..dc04da2 100644
--- a/interface/scan_devices.c
+++ b/interface/scan_devices.c
@@ -179,6 +179,12 @@ cdrom_drive *cdda_identify_cooked(const char *dev, int messagedest,
   case IDE1_MAJOR:
   case IDE2_MAJOR:
   case IDE3_MAJOR:
+  case IDE4_MAJOR:
+  case IDE5_MAJOR:
+  case IDE6_MAJOR:
+  case IDE7_MAJOR:
+  case IDE8_MAJOR:
+  case IDE9_MAJOR:
     /* Yay, ATAPI... */
     /* Ping for CDROM-ness */