Age | Commit message (Collapse) | Author |
|
"mainbus" device. this breaks when mpath is enabled because it
attaches before mainbus and therefore takes the head position.
have autoconf provide device_mainbus() which looks up mainbus_cd,
and use that instead.
discussed with deraadt who just wants mpath stuff to move forward
despite there being many ways to shine this particular turd.
|
|
ok miod@
|
|
|
|
built as an a.out binary.
|
|
|
|
libkern srandom() API since it is not suitable for this use.
ok kettenis miod
|
|
instead of XS_NO_CCB.
ok krw@
|
|
|
|
"sure" deraadt@
|
|
|
|
entries to decide if the IFF_ALLMULTI flag should be set, check if there
is at least one real range between them.
This should not change the behavior of any driver but if you encounter
any problem, feel free to revert the offending chunk and ping me about
it.
ok naddy@, dlg@
|
|
resurrection of the bad idiom in the tree.
sufficient review by miod, kettenis, tedu
|
|
Use this on luna88k to map the bitmap planes of the frame buffer used by
the driver. 10% speedup under X.
|
|
when 1) they aren't in ELF format, and 2) the result does not EVEN REMOTELY
matter on these architectures.
|
|
DL_[GET|SET]PSIZE(), DL_[GET|SET]POFFSET(), DL_[GET|SET]DSIZE() in
order to get|set correct value that includes the high bits of the
value.
|
|
dbatc. Add batc mapping support for 88110 systems as well.
|
|
DBATC may span over parts of .rodata.
|
|
data area and the kernel image, whenever possible.
On 88100/88200 systems, use BATC mappings to map the kernel text (and the
kernel data for non-MULTIPROCESSOR kernels). 88110 to follow soon.
|
|
|
|
|
|
ok miod
|
|
- switch to perl for better data structures and (thus) speed
- fix a couple glitches in the interpretation of the stabs output
- compress the strings by putting them in one big array and overlaying
suffixes
- all sizes and offsets are <64k, so use u_short for them
This results in ~60% reduction in the resulting text size and it now
takes less than a second to create on fast platforms.
ok miod@
|
|
|
|
more consistent;
feedback/ok miod
|
|
with ddb entered early with boot -d or from UKC).
|
|
|
|
- the am7990_get() - now lance_get() - is unchanged.
- the interrupt acknowledge logic is unchanged, and will disable interrupts,
then acknowledge all interrupt conditions.
Add ILACC (79900) support (from NetBSD).
Both LANCE (am7990.c) and ILACC (am79900.c) code share as much common code
(lance.c) as possible. This affects all le(4) attachments, but the changes
are mostly mechanical, to split am7990-specific parts from lance-agnostic
parts.
Compile tested on all affected platforms. Tested on alpha, hp300, luna88k,
mvme88k, sparc, sparc64 and vax.
|
|
important (and write-only) register state; this will allow this driver to
be used as a console before it attaches, to be used shortly.
|
|
don't have to. Remove these include lines from mvme68k, mvme88k,
sparc drivers.
test and OK miod@
|
|
the bus_dmamap_sync() bowels would sometimes use incorrectly rounded
addresses, which has been apparently harmless so far, but better be safe
than sorry.
|
|
Add CWARNFLAGS to the command line when using -xassembler-with-cpp. We are
mostly interested in -Werror here.
|
|
pointed out by & ok miod@
|
|
|
|
test period; i think 3 years ago the last bugs fell out.
ok otto beck others
|
|
|
|
ok matthew@ deraadt@
|
|
ok guenther@
|
|
|
|
chip want it one-based.
|
|
|
|
Split inittodr/resettodr code from actual tod routines, to allow for
multiple tod routines in the near future.
Use the mi clock_ymdhms_to_secs and clock_secs_to_ymdhms routines.
|
|
and VME controller are supported; tod chip isn't supported yet (coming soon).
MVME236 memory boards are not supported and won't likely be (unless I get my
hands on one).
MVME181-1 boots multiuser (slowly) with MVME328 SCSI and MVME376 Ethernet
despite only having 8MB of memory onboard.
MVME180 untested; might need tweaking to get MVME SCSI and Ethernet boards
supported.
Many thanks to Matti Nummi for lending me an MVME181 board.
|
|
function pointers for all the board-specific code.
Add a bunch of `struct board' methods to cover most, if not all, of the
`per-board' logic. This allows most of the md drivers to be cleaned up and
no longer need to embed board-specific knowledge.
|
|
No functional change.
|
|
multiple tod routines in the near future.
Use the mi clock_ymdhms_to_secs and clock_secs_to_ymdhms routines.
|
|
Alter the 88200-specific code to enforce cache-inhibited page tables for
extremely old 88200 versions, and to disable write-back caching on systems
where xmem instructions do not behave correctly when applied to write-back
cached addresses.
No change introduced on 88110 systems, as well as most 88100 systems; the
affected systems are 88100 systems with 88100 revision < 10 and/or 88200
revision < 7; that is, only early MVME181 and MVME188 (not 188A) systems.
|
|
to work as soon as cn_tab is initialized. Allows us to correctly printf or
panic early on unrecognized systems. This used to be the case but got lost a
long time ago.
|
|
|
|
do not return from it, for extra fun. The good thing is that the existing
kernel console code logic issueing \n as \r\n works nicely with the regular
BUG output routines, so there was no reason to use this particular BUG routine
in the first place.
|
|
interface name.
|