summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k
AgeCommit message (Collapse)Author
2014-03-18Retire hp300, mvme68k and mvme88k ports. These ports have no users, keepingMiod Vallat
this hardware alive is becoming increasingly difficult, and I should heed the message sent by the three disks which have died on me over the last few days. Noone sane will mourn these ports anyway. So long, and thanks for the fish.
2014-03-13get rid of the assumption that the head of the alldevs list is theDavid Gwynne
"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.
2014-02-23fix a memory leakJonathan Gray
ok miod@
2014-02-20Support for /etc/random.seed in bootsd (disk-only boot blocks)Miod Vallat
2014-02-07Borrow the sparc installboot a.out nlist code, for /usr/mdec/bootxx is stillMiod Vallat
built as an a.out binary.
2014-01-21add a missing argument to a debug printfJonathan Gray
2014-01-18if the controller is too busy to do a POLLed command, return XS_BUSYDavid Gwynne
instead of XS_NO_CCB. ok krw@
2014-01-04Add rnddata[] placeholders to make these boot blocks build again.Miod Vallat
2013-12-08reflect reality, mark as NOOBJMarc Espie
"sure" deraadt@
2013-12-01no longer neededMiod Vallat
2013-12-01switch mvme68k to the MI zs(4) driver.Miod Vallat
2013-11-30Spurious linefeedMiod Vallat
2013-11-30unbreakMiod Vallat
2013-11-27Instead of comparing the lower and higher addresses of all the multicastMartin Pieuchot
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@
2013-11-06Don't cargo-cult copy the invocation of size(1) on compiled bootblocks,Miod Vallat
when 1) they aren't in ELF format, and 2) the result does not EVEN REMOTELY matter on these architectures.
2013-11-05Replace direct references to p_size, p_offset and d_secperunit withKenneth R Westerback
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.
2013-11-02Use sigexit() instead of rolling our own version.Miod Vallat
2013-10-17Remove a.out leftovers now that libsa loadfile() will only boot ELF binaries.Miod Vallat
2013-10-15Rewrite the awk script that generates the data for option DDB_STRUCT:Philip Guenther
- 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@
2013-10-07Do not invoke ttymodem() directly, but l_modem from the current linedisc.Miod Vallat
2013-09-29various fixes to sync usage() with SYNOPSIS, and make these pages a bitJason McIntyre
more consistent; feedback/ok miod
2013-09-28In boot(), do not iterate over alldevs if it's empty (i.e. halting from ddbMiod Vallat
with ddb entered early with boot -d or from UKC).
2013-09-24Sync the MI LANCE code ( le(4) ) with NetBSD, except for the following:Miod Vallat
- 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.
2013-09-05Most network drivers include netinet/in_var.h, but apparently theyAlexander Bluhm
don't have to. Remove these include lines from mvme68k, mvme88k, sparc drivers. test and OK miod@
2013-07-04Merge rev 1.16 of cl.c: time_t is not longPhilip Guenther
2013-07-02Use time_t for storing and returning time_t values, and cast to time_tPhilip Guenther
before the last multiplication that might take it past 2^31 secounds. ok deraadt@ miod@
2013-06-23Stop using -traditional-cpp on gcc3/4 platforms.Miod Vallat
Add CWARNFLAGS to the command line when using -xassembler-with-cpp. We are mostly interested in -Werror here.
2013-06-16Add IPL_MPSAFE for some architectures that I missed in the first round.Mark Kettenis
pointed out by & ok miod@
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
test period; i think 3 years ago the last bugs fell out. ok otto beck others
2013-06-03more fuse in more places. credit: miodTed Unangst
2013-06-01add missing license (PD) blockJasper Lievisse Adriaanse
ok guenther@
2013-05-19Switch mvme68k to MI wdsc(4) driver. Tested on MVME147.Miod Vallat
2013-05-12Lower heap location and load address by 1MB for the secondary boot loaders,Miod Vallat
to fit 8MB boards.
2013-04-14Unbreak tape boot blocks by not attempting to load kernel symbols, and providingMiod Vallat
a smarter seek routine which can seek forward and cope with the libsa gzip code reading the first 4KB of a file upon open, only to discard the buffer because it assumes we can always seek backwards. These boot blocks had been broken since the switch to the MI libsa loadfile code. Reported for mvme88k by Michael Fritsch, thanks and sorry for taking too long to fix.
2013-03-30reorder include search directories. cuts lookups by quite a bit.Ted Unangst
ok deraadt miod
2013-03-26sync TDIRS with realityJasper Lievisse Adriaanse
"looks good" deraadt@
2013-03-23refactor sys/param.h and machine/param.h. A lot of #ifdef _KERNEL is addedTheo de Raadt
to keep definitions our of user space. The MD files now follow a consistant order -- all namespace intrusion is at the tail can be cleaned up independently. locore, bootblocks, and libkvm still see enough visibility to build. Checked on 90% of platforms...
2013-02-10switch m68k ports to gcc3Miod Vallat
2013-02-02mvme68k ELF bits. Boot block updates heavily based upon the recent mvme88kMiod Vallat
a.out->ELF transition.
2013-01-16cpu_coredump() also needs to invoke vn_rdwr() without IO_NODELOCKED; onlyMiod Vallat
affects a.out binaries' core dumps.
2013-01-16Nuke common.Miod Vallat
2012-12-31Switch mvme68k boot blocks to use the MI libsa loadfile routines to loadMiod Vallat
kernel images, instead of their own; gives us the ability to load ELF kernels for free. Fix many warnings, and generally make the code closer to the current mvme88k boot blocks to help diffability. Rewrite bugcrt and bugexec() as a short assembly shim around a compiler-independent C block; this will allow compilers other than gcc2 to be used, and removes the need for bugcrt to be compiled without optimization. Crank all bootblocks versions.
2012-12-31Remove emulation errno mapping code from platforms that no longer havePhilip Guenther
non-native emulations. ok miod@
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2012-12-03avoid depending on gcc cast as lvalue extension whichJonathan Gray
was removed in gcc4 ok miod@
2012-11-05unifdef -D __HAVE_TIMECOUNTERMiod Vallat
2012-11-04Make the s-records boot loader use the same stage1/stage2 addresses as theMiod Vallat
other boot blocks. Crank stage1 from 64KB to 1MB to accomodate non-mvme147 BUG.
2012-11-04Real prototypes, better integer types, pass -Wall. No functional change.Miod Vallat
2012-11-04Switch mvme68k to timecounters.Miod Vallat
2012-10-22missing headerMiod Vallat