summaryrefslogtreecommitdiffstats
path: root/sys/arch/sparc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* add qla and qle everywhere we currently have isp, commented out except forjmatthew2014-02-193-3/+6
| | | | | | | qle in GENERIC on i386, amd64 and sparc64, where it's reasonably well tested and likely to be useful. requested by deraadt@ and kettenis@, ok dlg@
* Build isp2xxx firmware into separate object files so we only includejmatthew2014-02-101-2/+2
| | | | | | | one copy when both isp(4) and qla(4) are enabled. This is a temporary measure until qla(4) takes over completely. looked at by miod@ and kettenis@
* Move declaration of struct vm_page_md from <machine/vmparam.h> tomiod2014-01-302-58/+53
| | | | | | <machine/pmap.h> where it belongs, and compensate in <uvm/uvm_extern.h> by including <uvm/uvm_pmap.h> before <uvm/uvm_page.h>. Tested on all MACHINE_ARCH but amd64 and i386 (and hppa64).
* unifdef -D__HAVE_VM_PAGE_MD - no functional change.miod2014-01-231-2/+1
|
* dtucker@ pointed out i suck at grep.dlg2014-01-211-9/+2
| | | | fix ncr53c9x fallout.
* fix header to get symbols loaded correctlymiod2014-01-011-2/+2
|
* Add a linker script to force the .openbsd.randomdata section to be put aftermiod2014-01-012-2/+61
| | | | .data, so that it will not get mapped read-only by pmap_bootstrap().
* get rid of if (timeout_pending()) timeout_del(). this is racy. anydlg2013-12-241-3/+2
| | | | | | | conditionals you did on timeout_pending can now be done on timeout_del now that it returns what it did. ok and a very good fix from kettenis@
* sun4e needs the same 1.6 usec ZS_DELAY() as sun4 does.miod2013-12-192-4/+4
|
* Provide MI symbol _STACKALIGNBYTESderaadt2013-12-181-3/+4
|
* reflect reality, mark as NOOBJespie2013-12-081-1/+2
| | | | "sure" deraadt@
* fix typoderaadt2013-11-281-2/+2
|
* Instead of comparing the lower and higher addresses of all the multicastmpi2013-11-273-44/+20
| | | | | | | | | | | 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@
* 1 << 31 cleanup. Eitan Adler pointed out that there has been aderaadt2013-11-264-15/+15
| | | | | resurrection of the bad idiom in the tree. sufficient review by miod, kettenis, tedu
* make this compile after dlg's recent changemartin2013-11-261-2/+2
|
* remove the #define b_cylinder b_resid from bufs. i hated thedlg2013-11-211-17/+17
| | | | | | | | | | | | | | | | | | | overloading of that thing. the only hardware that seems to care about cylinders in our tree are floppy drives, and the drivers for those calculate their own cylinders from logical block addresses and ignore whatever the rest of the kernel thought b_cylinders should be. most of this diff is moving the floppy drivers to using b_resid as a resid and using that as part of the calculation for real cylinder values. the rest of the diff is getting rid of the useless assignments to b_cylinder that dont get used by anything (now that disksort is gone). ok miod@
* replace bare use of disksort with bufqs. this is the last disksort userdlg2013-11-202-13/+8
| | | | | | in the tree apart from the bufq wrapper around it. go ahead miod@
* simplify kthread_create(). no more stdargderaadt2013-11-181-2/+2
| | | | ok matthew guenther mikeb
* replace disksort with bufqs. basically a copy of the same change in sparc64dlg2013-11-181-15/+17
| | | | | | which was a copy of the change in isa/fd.c. ok krw@
* Use daddr_t to hold calculated disk sector address. %d -> %lld tokrw2013-11-121-9/+12
| | | | | match. Whitespace tweaks. All bringing this chunk into identity with same chunk in sparc64 fd.c.
* size no longer has a.out knowledge, so .. skip itderaadt2013-11-032-4/+2
| | | | found by tobiasu
* Sprinkle (long long) casts where %lld is being used to print daddr_tkrw2013-11-013-10/+13
| | | | | | variables. Some random whitespace/knf repairs encountered on the way. ok miod@ on inspection, feedback & more suggestions from millert@
* Introduce a private copy of old a.out-capable nlist.c, because bootxxderaadt2013-10-302-2/+162
| | | | | | has such a header and we need to tweak it. Non-a.out parts removed, to make this binary small for the install media. ok miod
* Fix lies in comments, and apply some KNF and unused or duplicate prototypemiod2013-10-211-8/+12
| | | | removals.
* Add load_font and list_font accessops to all rasops-based wsdisplay drivers.miod2013-10-211-1/+25
| | | | | Trivial except for tga(4) and gpx(4/vax) which need a bit more care setting up a new font.
* Use C99 named initializers for struct wsdisplay_accessops fields.miod2013-10-2017-187/+66
| | | | No functional change.
* (daddr_t) -> (u_int64_t) when multiplying ncylinders * secpercyl tokrw2013-10-203-6/+6
| | | | | get disk size, since DL_SETDSIZE() takes disk sector values, not 512-byte block values.
* catch up with elf(5)/stab(5) removal;jmc2013-10-201-5/+3
| | | | ok miod
* Remove a.out leftovers now that libsa loadfile() will only boot ELF binaries.miod2013-10-171-2/+1
|
* Remove support for a.out and ecoff. We only do elf now.deraadt2013-10-171-3/+1
| | | | ok miod
* Rewrite the awk script that generates the data for option DDB_STRUCT:guenther2013-10-151-3/+3
| | | | | | | | | | | | - 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@
* XXsize() returns daddr_t, so calculate the return value in a daddr_tkrw2013-10-142-4/+6
| | | | | | variable and not (usually) an int. ok miod@
* various fixes to sync usage() with SYNOPSIS, and make these pages a bitjmc2013-09-292-9/+9
| | | | | | more consistent; feedback/ok miod
* In boot(), do not iterate over alldevs if it's empty (i.e. halting from ddbmiod2013-09-281-2/+3
| | | | with ddb entered early with boot -d or from UKC).
* Fix use of uninitialized variable, found by Maxime Villard.mlarkin2013-09-281-2/+2
| | | | ok miod@
* Sync the MI LANCE code ( le(4) ) with NetBSD, except for the following:miod2013-09-242-81/+78
| | | | | | | | | | | | | | | | - 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.
* Create process map holes with UVM_INH_SHARE so that they don't get lost inmiod2013-09-211-2/+2
| | | | | fork-without-exec situation (such as privsep'd binaries). Fixes occasional SIGSEGV in syslogd and pflogd on sun4/4c/4e.
* Replace a hardcoded delay() with ZS_DELAY() to make sun4c happiermiod2013-09-151-2/+2
|
* Most network drivers include netinet/in_var.h, but apparently theybluhm2013-09-057-14/+7
| | | | | | don't have to. Remove these include lines from mvme68k, mvme88k, sparc drivers. test and OK miod@
* get rid of the copy argument in m_devget that let you provide andlg2013-08-211-2/+2
| | | | | | | | | alternative to bcopy since noone uses it. while there use memcpy instead of bcopy because we know the memory cannot overlap. ok henning@ matthew@ mikeb@ deraadt@
* Add RI_VCONS support.kettenis2013-08-151-7/+19
| | | | ok miod@
* We uniformly define size_t to be unsigned long and ssize_t to be long. Makekettenis2013-08-071-4/+4
| | | | | | | sure that SIZE_MAX and SSIZE_MAX are defined as constants with a matching type on all are architectures. ok millert@, matthew@
* Revert wrong chunk introduced in 1.50, causing console keyboards not to attachmiod2013-07-271-6/+2
| | | | as console; fixes non-wsmux kernels such as bsd.rd; noticed by sebastia@
* unify register_t to long on all platformsderaadt2013-07-131-2/+2
| | | | ok miod kettenis
* Avoid truncation when calculating clock gain/lossguenther2013-07-051-4/+5
| | | | ok deraadt@
* Take II, this time without flubbing off_t: : move several internalguenther2013-07-051-6/+1
| | | | | | | type definitions that are the same across all archs from <machine/_types.h> to <sys/_types.h> ok deraadt@ kettenis@ otto@
* backout previous; off_t must be signed and there might be other C++ APIotto2013-07-041-1/+6
| | | | breakage lurking; ok kettenis@
* To ease future changes, move several internal type definitions that areguenther2013-07-041-6/+1
| | | | | | the same across all archs from <machine/_types.h> to <sys/_types.h> ok deraadt@
* Stop using -traditional-cpp on gcc3/4 platforms.miod2013-06-231-2/+2
| | | | | Add CWARNFLAGS to the command line when using -xassembler-with-cpp. We are mostly interested in -Werror here.
* new integral bcopy/memmove/memcpy, pulled out of sparc locorederaadt2013-06-131-348/+4
| | | | tested by beck