summaryrefslogtreecommitdiffstats
path: root/sys/boot/powerpc/ps3/conf.c
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2011-08-14 00:20:37 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2011-08-14 00:20:37 +0000
commitae4052d3f376c0fa7111ebe2cc007fd43435d701 (patch)
treecd0e784c32101b07218ed9cadb5b59ce85cf50f2 /sys/boot/powerpc/ps3/conf.c
parentd7243f9f08159a162ce3b28842403e797017d945 (diff)
downloadFreeBSD-src-ae4052d3f376c0fa7111ebe2cc007fd43435d701.zip
FreeBSD-src-ae4052d3f376c0fa7111ebe2cc007fd43435d701.tar.gz
Add support for the Blu-Ray drive found in the Sony Playstation 3 and fix
some realted minor bugs in PS3 internal storage support. Submitted by: glevand <geoffrey.levand@mail.ru> Approved by: re (bz)
Diffstat (limited to 'sys/boot/powerpc/ps3/conf.c')
-rw-r--r--sys/boot/powerpc/ps3/conf.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/boot/powerpc/ps3/conf.c b/sys/boot/powerpc/ps3/conf.c
index 200fc7f..3a5ae4c 100644
--- a/sys/boot/powerpc/ps3/conf.c
+++ b/sys/boot/powerpc/ps3/conf.c
@@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$");
#endif
extern struct devsw ps3disk;
+extern struct devsw ps3cdrom;
/*
* We could use linker sets for some or all of these, but
@@ -47,7 +48,10 @@ extern struct devsw ps3disk;
/* Exported for libstand */
struct devsw *devsw[] = {
-#if defined(LOADER_DISK_SUPPORT) || defined(LOADER_CD9660_SUPPORT)
+#if defined(LOADER_CD9660_SUPPORT)
+ &ps3cdrom,
+#endif
+#if defined(LOADER_DISK_SUPPORT)
&ps3disk,
#endif
#if defined(LOADER_NET_SUPPORT)
OpenPOWER on IntegriCloud