gmcgarry
e99aada22c
Bump ramdisk size.
2002-04-22 06:10:16 +00:00
gmcgarry
36adeea7c2
Don't frob MCR_IEN bit if on a 425e. Problem initially reported
...
by Christoph Badura:
It looks to me like the 425e uses reverse polarity of the MCR_IEN bit with
respect to the other 4xx models. That could be because it doesn't have
an inverter wired behind the IEN(OUT2) output of the UART.
Fix is inspired by change in OpenBSD. Serial console input is
confirmed working on 425e by Thilo Manske.
2002-04-17 23:31:24 +00:00
gmcgarry
b3dae2b4b6
Regen: "digital audio"
2002-04-17 20:51:11 +00:00
gmcgarry
c4ab5a6201
typo in previous
2002-04-17 20:50:45 +00:00
gmcgarry
5123c61682
device id 0x13 is "digital audio" as reported by Thilo Manske.
2002-04-17 20:49:06 +00:00
gmcgarry
e25ab469b9
Attach apci console as an intio device, not a dio device.
...
Fixes console attach on 425e noted by Thilo Manske.
2002-04-17 20:40:30 +00:00
gmcgarry
6e066ba77a
Add commented-out USERCONF option. Mainly useful for install media
...
and can be optionally enabled based on miniroot and ramdisk size
requirements.
2002-04-12 08:10:45 +00:00
gmcgarry
dea19257e2
Create default disklabel correctly.
2002-04-08 21:41:44 +00:00
gmcgarry
61d1eb003e
actually, we didn't want to print pa, not kva
2002-04-05 05:31:42 +00:00
gmcgarry
2ec9c06efb
cosmetic formatting
2002-04-02 05:46:36 +00:00
lukem
d213d804f7
Rename MEMORY_DISK_SIZE (formerly MINIROOTSIZE) to MEMORY_DISK_ROOT_SIZE,
...
which was suggested by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> as
being more consistent with what it's controlling...
2002-04-02 05:30:34 +00:00
christos
7e277b5782
kill remaining PS_STRINGS instances.
2002-03-20 17:59:22 +00:00
atatat
31144d9976
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
...
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +00:00
gmcgarry
0d5d235755
Don't match on trailing spaces in the module name.
2002-03-17 05:44:48 +00:00
gmcgarry
2edbfbd9c2
Include MFS in the INSTALL kernel for the miniroot install.
2002-03-17 05:43:17 +00:00
gmcgarry
c8e4daf662
Move exec_hp300() out of uboot.c into its own file so that it can
...
be used by SYS_INST. SYS_INST can now boot ELF kernels inside the
miniroot.
2002-03-16 06:20:07 +00:00
gmcgarry
97ef6567ad
Add RCSIDs.
2002-03-15 05:55:35 +00:00
gmcgarry
d4c41b0f8b
malloc cleanups:
...
- malloc+memset -> malloc with M_ZERO
- malloc -> MALLOC for fixed-sized structures
Add RCSIDs while here
2002-03-15 05:52:53 +00:00
gmcgarry
1cb254edf6
Introduce iteinstallkeymap() which allows the keyboard driver to
...
register its keymap with ite. Add RCSIDs while here.
2002-03-15 05:45:23 +00:00
gmcgarry
0cc97c18ac
Don't display ipl if the device isn't actually attaching.
...
Add RCSID while here.
2002-03-15 05:40:01 +00:00
gmcgarry
ddfcbf2bfc
Increase the delay when resetting the port so that the output doesn't
...
get scrambled when we're the console. Add RCSID while here.
2002-03-15 05:36:38 +00:00
lukem
cd19d52695
* rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
...
are now consistently named
* fold opt_mdsize.h into opt_md.h
2002-03-10 19:56:37 +00:00
thorpej
a180cee23b
Pool deals fairly well with physical memory shortage, but it doesn't
...
deal with shortages of the VM maps where the backing pages are mapped
(usually kmem_map). Try to deal with this:
* Group all information about the backend allocator for a pool in a
separate structure. The pool references this structure, rather than
the individual fields.
* Change the pool_init() API accordingly, and adjust all callers.
* Link all pools using the same backend allocator on a list.
* The backend allocator is responsible for waiting for physical memory
to become available, but will still fail if it cannot callocate KVA
space for the pages. If this happens, carefully drain all pools using
the same backend allocator, so that some KVA space can be freed.
* Change pool_reclaim() to indicate if it actually succeeded in freeing
some pages, and use that information to make draining easier and more
efficient.
* Get rid of PR_URGENT. There was only one use of it, and it could be
dealt with by the caller.
From art@openbsd.org .
2002-03-08 20:48:27 +00:00
tsutsui
3c8b0446fe
Change type of dumpmag to u_int32_t since it is actually
...
a 32bit unsigned magic number.
As per discussion on tech-kern, and fixes port-sparc64/11949.
2002-03-06 13:10:18 +00:00
simonb
9bcc70fa1d
Don't cast argument to ffs() to long.
...
Per discussion on port-alpha, noticed by Robert Elz.
2002-03-05 09:40:38 +00:00
simonb
d224e9dcc0
Indent by tab and not two spaces.
2002-03-05 00:38:41 +00:00
simonb
de2043f47e
Sort function declarations.
...
Fix some KNF whitespace nits.
2002-03-05 00:34:14 +00:00
simonb
6f0fb25121
Don't need to declare phys_map - it is declared in <uvm/uvm_extern.h>.
2002-03-04 02:43:22 +00:00
simonb
9a942a34e0
Don't use local extern declarations for the mountroot variable or
...
declare local prototypes for nfs_mountroot() or md_root_setconf().
2002-03-04 02:25:21 +00:00
simonb
4324f37586
Use "#define<tab>".
2002-02-28 03:17:23 +00:00
christos
e8116a8f5b
- Use DEV_ constants, instead of documenting the numbers!
...
- Delete cdev_decl(mm); where appropriate, and other hand-crufting [hi powerpc!]
2002-02-27 01:20:51 +00:00
simonb
d9ab16ba2f
Purge CLSIZE, CLSIZELOG2 and MCLOFSET.
...
Be consistant in the way that MSIZE, MCLSHIFT, MCLBYTES and NMBCLUSTERS
are defined.
Remove old VM constants from cesfic port.
Bump MSIZE to 256 on mipsco (the only one that wasn't already 256).
2002-02-26 15:13:19 +00:00
gmcgarry
0166df69f5
Implement DIOCGDEFLABEL ioctl.
2002-02-23 21:55:25 +00:00
gmcgarry
49fd989e9b
Unnecessary to cast splx() to void.
2002-02-23 21:54:31 +00:00
gmcgarry
562fb80d45
Make the keyboard attach printf a little less cryptic.
2002-02-23 21:53:25 +00:00
gmcgarry
5382848ec7
Recognise md as a valid root device. And since md disks don't get
...
device_register()'d, don't go looking on our device list for them.
Ramdisk kernel now boot.
2002-02-23 21:52:25 +00:00
gmcgarry
42abedb038
Trim down to 1.2MB ramdisk for booting on 4MB machines.
2002-02-23 21:48:08 +00:00
gmcgarry
19f1fd96ca
Don't need printer support during installation.
2002-02-23 21:47:07 +00:00
gmcgarry
6a45dcbe5d
Cleanup options for binary compatibility. HPUX and SUNOS are known to work.
2002-02-23 21:46:24 +00:00
wiz
37e458fa45
strategy should have an 'r'. Inspired by similar change in OpenBSD.
2002-02-19 17:09:40 +00:00
gmcgarry
4c43f7cf1a
Bump ramdisk to 2MB.
2002-02-13 06:02:46 +00:00
wiz
9baadd8ee5
"doesn't" should have an 's'.
2002-02-11 11:19:26 +00:00
wiz
66df0333a1
s/seperate/separate/
2002-02-11 10:44:38 +00:00
gmcgarry
9be34a7e49
Up-to-date kernels for installation media.
2002-02-10 01:07:55 +00:00
gmcgarry
839f3d5b8f
Don't need these.
2002-02-10 01:06:32 +00:00
gmcgarry
d934377152
Implement DIOCGDEFLABEL ioctl.
2002-02-10 00:49:57 +00:00
gmcgarry
0b0cdf630f
Some assemblers will optimise addresses within .text into pc-relative
...
references. Bogus for our MMU trampoline code which is relocated to
the last physical page before being invoked. This hack enforces all
addresses wrt the MMU trampoline code not to be pc-relative.
2002-02-10 00:47:59 +00:00
gmcgarry
70d5890284
Use LIST_INSERT_HEAD() to access the head on the interrupt list.
2002-02-10 00:42:15 +00:00
gmcgarry
25a639e366
Also don't print \n without DIAGNOSTIC.
2002-02-10 00:41:21 +00:00
lukem
971861de37
use ${INSTALL_FILE} as appropriate
2002-02-09 09:35:59 +00:00