The branch main has been updated by cperciva:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=a0018c65a7590f10f9552b05a422d4888d0aedc4

commit a0018c65a7590f10f9552b05a422d4888d0aedc4
Author:     James Wright <james.wri...@digital-chaos.com>
AuthorDate: 2024-10-13 05:40:47 +0000
Commit:     Colin Percival <cperc...@freebsd.org>
CommitDate: 2024-10-13 05:43:33 +0000

    EC2: Disable floppy and parallel port devices
    
    PR:     233861
    Reviewed by:    lwhsu, imp
    Differential Revision:  https://reviews.freebsd.org/D18482
---
 release/tools/ec2.conf | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/release/tools/ec2.conf b/release/tools/ec2.conf
index 9e9471b55149..54eb0b0b8060 100644
--- a/release/tools/ec2.conf
+++ b/release/tools/ec2.conf
@@ -53,6 +53,13 @@ ec2_common() {
        echo 'hint.atkbd.0.disabled=1' >> ${DESTDIR}/boot/loader.conf
        echo 'hint.atkbdc.0.disabled=1' >> ${DESTDIR}/boot/loader.conf
 
+       # There is no floppy drive on EC2 instances so disable the driver.
+       echo 'hint.fd.0.disabled=1' >> ${DESTDIR}/boot/loader.conf
+       echo 'hint.fdc.0.disabled=1' >> ${DESTDIR}/boot/loader.conf
+
+       # There is no parallel port on EC2 instances so disable driver.
+       echo 'hint.ppc.0.disabled=1' >> ${DESTDIR}/boot/loader.conf
+
        # EC2 has two consoles: An emulated serial port ("system log"),
        # which has been present since 2006; and a VGA console ("instance
        # screenshot") which was introduced in 2016.

Reply via email to