1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Use /dev/cdrom instead of atapi drive device name.

PR:	44515
Approved by:	maintainer
This commit is contained in:
Alan Eldridge 2002-10-30 09:29:18 +00:00
parent c9889cc413
commit cc50cf47ea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69146
2 changed files with 5 additions and 4 deletions

View File

@ -15,7 +15,7 @@
-
+DEFS = -DOS_BSD
+EXTRA_OBJS = cd_ll_bsd.o
+CDDEVICE=\"/dev/acd0c\"
+CDDEVICE=\"/dev/cdrom\"
# you shouldn't have to change anything below this line

View File

@ -1,11 +1,12 @@
--- cd_ll_bsd.cpp.orig Sun Nov 28 20:14:31 1999
+++ cd_ll_bsd.cpp Sun Nov 28 20:15:29 1999
--- cd_ll_bsd.cpp.orig Sat Aug 25 14:09:00 2001
+++ cd_ll_bsd.cpp Sat Oct 26 21:16:54 2002
@@ -10,7 +10,9 @@
#include "cd_ll_bsd.h"
// the cd-rom device file
-#define DEVICE "/dev/acd0c"
+#ifndef DEVICE
#define DEVICE "/dev/acd0c"
+#define DEVICE "/dev/cdrom"
+#endif
cd_ll_bsd::cd_ll_bsd()