1
0
mirror of synced 2026-01-26 11:42:02 +00:00

prelim for boot-time support

This commit is contained in:
Romain Dolbeau
2021-09-04 09:04:40 -04:00
parent e820d105da
commit 37bf0c5aa9
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
sbusfpga256|SBusFPGA with 256 MiB SDRAM: \
:ns#2:nt#4:nc#65536:se#512: \
:oa#0:pa#524288:ta=4.2BSD: \
:oc#0:pc#524288:

View File

@@ -0,0 +1,13 @@
#!/bin/sh
#
# $NetBSD$
#
# PROVIDE: SBUSFPGA_SDRAM
if test -b /dev/sbusfpga_sdram0; then
for DEVICE in /dev/sbusfpga_sdram[0-9]; do
test -b ${DEVICE} && disklabel -w ${DEVICE} sbusfpga256 || return
test -b ${DEVICE}a && newfs ${DEVICE}a || return
done
fi