Skip to content
Browse files

Cleanup how we load device.hints

  • Loading branch information...
1 parent 7d497d1 commit 0a15f21064d8650d76018e579c442cc9faf6eccf @kmoore134 kmoore134 committed Oct 14, 2013
Showing with 3 additions and 123 deletions.
  1. +3 −123 overlays/install-overlay/boot/grub/grub.cfg
View
126 overlays/install-overlay/boot/grub/grub.cfg
@@ -72,143 +72,23 @@ set timeout=10
menuentry "Graphical Install" {
kfreebsd /boot/kernel/kernel
+ kfreebsd_loadenv /boot/device.hints
set kFreeBSD.vfs.root.mountfrom=cd9660:/dev/iso9660/PCBSD_INSTALL
- set kFreeBSD.hint.fdc.0.at=isa
- set kFreeBSD.hint.fdc.0.port=0x3F0
- set kFreeBSD.hint.fdc.0.irq=6
- set kFreeBSD.hint.fdc.0.drq=2
- set kFreeBSD.hint.fd.0.at=fdc0
- set kFreeBSD.hint.fd.0.drive=0
- set kFreeBSD.hint.fd.1.at=fdc0
- set kFreeBSD.hint.fd.1.drive=1
- set kFreeBSD.hint.atkbdc.0.at=isa
- set kFreeBSD.hint.atkbdc.0.port=0x060
- set kFreeBSD.hint.atkbd.0.at=atkbdc
- set kFreeBSD.hint.atkbd.0.irq=1
- set kFreeBSD.hint.psm.0.at=atkbdc
- set kFreeBSD.hint.psm.0.irq=12
- set kFreeBSD.hint.sc.0.at=isa
- set kFreeBSD.hint.sc.0.flags=0x100
- set kFreeBSD.hint.uart.0.at=isa
- set kFreeBSD.hint.uart.0.port=0x3F8
- set kFreeBSD.hint.uart.0.flags=0x10
- set kFreeBSD.hint.uart.0.irq=4
- set kFreeBSD.hint.uart.1.at=isa
- set kFreeBSD.hint.uart.1.port=0x2F8
- set kFreeBSD.hint.uart.1.irq=3
- set kFreeBSD.hint.ppc.0.at=isa
- set kFreeBSD.hint.ppc.0.irq=7
- set kFreeBSD.hint.atrtc.0.at=isa
- set kFreeBSD.hint.atrtc.0.port=0x70
- set kFreeBSD.hint.atrtc.0.irq=8
- set kFreeBSD.hint.attimer.0.at=isa
- set kFreeBSD.hint.attimer.0.port=0x40
- set kFreeBSD.hint.attimer.0.irq=0
- set kFreeBSD.hint.wbwd.0.at=isa
- set kFreeBSD.hint.psm.0.flags=0x1000
- set kFreeBSD.kern.ipc.shmseg=1024
- set kFreeBSD.kern.ipc.shmmni=1024
- set kFreeBSD.kern.maxproc=10000
- set kFreeBSD.legal.intel_ipw.license_ack=1
- set kFreeBSD.legal.intel_iwi.license_ack=1
- set kFreeBSD.vfs.zfs.prefetch_disable=1
- set kFreeBSD.hint.acpi_throttle.0.disabled=1
- set kFreeBSD.machdep.disable_mtrrs=1
set kFreeBSD.kern.geom.eli.visible_passphrase=2
}
menuentry "Run X in VESA mode" {
kfreebsd /boot/kernel/kernel
+ kfreebsd_loadenv /boot/device.hints
set kFreeBSD.vfs.root.mountfrom=cd9660:/dev/iso9660/PCBSD_INSTALL
- set kFreeBSD.hint.fdc.0.at=isa
- set kFreeBSD.hint.fdc.0.port=0x3F0
- set kFreeBSD.hint.fdc.0.irq=6
- set kFreeBSD.hint.fdc.0.drq=2
- set kFreeBSD.hint.fd.0.at=fdc0
- set kFreeBSD.hint.fd.0.drive=0
- set kFreeBSD.hint.fd.1.at=fdc0
- set kFreeBSD.hint.fd.1.drive=1
- set kFreeBSD.hint.atkbdc.0.at=isa
- set kFreeBSD.hint.atkbdc.0.port=0x060
- set kFreeBSD.hint.atkbd.0.at=atkbdc
- set kFreeBSD.hint.atkbd.0.irq=1
- set kFreeBSD.hint.psm.0.at=atkbdc
- set kFreeBSD.hint.psm.0.irq=12
- set kFreeBSD.hint.sc.0.at=isa
- set kFreeBSD.hint.sc.0.flags=0x100
- set kFreeBSD.hint.uart.0.at=isa
- set kFreeBSD.hint.uart.0.port=0x3F8
- set kFreeBSD.hint.uart.0.flags=0x10
- set kFreeBSD.hint.uart.0.irq=4
- set kFreeBSD.hint.uart.1.at=isa
- set kFreeBSD.hint.uart.1.port=0x2F8
- set kFreeBSD.hint.uart.1.irq=3
- set kFreeBSD.hint.ppc.0.at=isa
- set kFreeBSD.hint.ppc.0.irq=7
- set kFreeBSD.hint.atrtc.0.at=isa
- set kFreeBSD.hint.atrtc.0.port=0x70
- set kFreeBSD.hint.atrtc.0.irq=8
- set kFreeBSD.hint.attimer.0.at=isa
- set kFreeBSD.hint.attimer.0.port=0x40
- set kFreeBSD.hint.attimer.0.irq=0
- set kFreeBSD.hint.wbwd.0.at=isa
- set kFreeBSD.hint.psm.0.flags=0x1000
- set kFreeBSD.kern.ipc.shmseg=1024
- set kFreeBSD.kern.ipc.shmmni=1024
- set kFreeBSD.kern.maxproc=10000
- set kFreeBSD.legal.intel_ipw.license_ack=1
- set kFreeBSD.legal.intel_iwi.license_ack=1
- set kFreeBSD.vfs.zfs.prefetch_disable=1
- set kFreeBSD.hint.acpi_throttle.0.disabled=1
- set kFreeBSD.machdep.disable_mtrrs=1
set kFreeBSD.kern.geom.eli.visible_passphrase=2
set kFreeBSD.xvesa=YES
}
menuentry "Emergency Console" {
kfreebsd /boot/kernel/kernel
+ kfreebsd_loadenv /boot/device.hints
set kFreeBSD.vfs.root.mountfrom=cd9660:/dev/iso9660/PCBSD_INSTALL
- set kFreeBSD.hint.fdc.0.at=isa
- set kFreeBSD.hint.fdc.0.port=0x3F0
- set kFreeBSD.hint.fdc.0.irq=6
- set kFreeBSD.hint.fdc.0.drq=2
- set kFreeBSD.hint.fd.0.at=fdc0
- set kFreeBSD.hint.fd.0.drive=0
- set kFreeBSD.hint.fd.1.at=fdc0
- set kFreeBSD.hint.fd.1.drive=1
- set kFreeBSD.hint.atkbdc.0.at=isa
- set kFreeBSD.hint.atkbdc.0.port=0x060
- set kFreeBSD.hint.atkbd.0.at=atkbdc
- set kFreeBSD.hint.atkbd.0.irq=1
- set kFreeBSD.hint.psm.0.at=atkbdc
- set kFreeBSD.hint.psm.0.irq=12
- set kFreeBSD.hint.sc.0.at=isa
- set kFreeBSD.hint.sc.0.flags=0x100
- set kFreeBSD.hint.uart.0.at=isa
- set kFreeBSD.hint.uart.0.port=0x3F8
- set kFreeBSD.hint.uart.0.flags=0x10
- set kFreeBSD.hint.uart.0.irq=4
- set kFreeBSD.hint.uart.1.at=isa
- set kFreeBSD.hint.uart.1.port=0x2F8
- set kFreeBSD.hint.uart.1.irq=3
- set kFreeBSD.hint.ppc.0.at=isa
- set kFreeBSD.hint.ppc.0.irq=7
- set kFreeBSD.hint.atrtc.0.at=isa
- set kFreeBSD.hint.atrtc.0.port=0x70
- set kFreeBSD.hint.atrtc.0.irq=8
- set kFreeBSD.hint.attimer.0.at=isa
- set kFreeBSD.hint.attimer.0.port=0x40
- set kFreeBSD.hint.attimer.0.irq=0
- set kFreeBSD.hint.wbwd.0.at=isa
- set kFreeBSD.hint.psm.0.flags=0x1000
- set kFreeBSD.kern.ipc.shmseg=1024
- set kFreeBSD.kern.ipc.shmmni=1024
- set kFreeBSD.kern.maxproc=10000
- set kFreeBSD.legal.intel_ipw.license_ack=1
- set kFreeBSD.legal.intel_iwi.license_ack=1
- set kFreeBSD.vfs.zfs.prefetch_disable=1
- set kFreeBSD.hint.acpi_throttle.0.disabled=1
- set kFreeBSD.machdep.disable_mtrrs=1
set kFreeBSD.kern.geom.eli.visible_passphrase=2
set kFreeBSD.xconsole=YES
}

0 comments on commit 0a15f21

Please sign in to comment.
Something went wrong with that request. Please try again.