Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-05-20 | Put explicit barriers in in-line spl functions. | Miod Vallat | |
2006-05-07 | Missing license block; from art@ | Miod Vallat | |
2006-04-09 | #ifdef lint wraps for va_start | Theo de Raadt | |
2006-03-19 | rev 1.86 | Brad Smith | |
make the "generic" PCI bus enumeration code the standard case which gets used if nothing else is defined in MD headers, introduce a "PCI_MACHDEP_ENUMERATE_BUS" CPP definition which can be used by MD headers (just 1 port atm) to plug in special code rev 1.62 * Implement a machine-dependent pci_enumerate_bus() for sparc64 which uses OFW device nodes to enumerate the bus. When a PCI bus that is behind a bridge is attached, pci_attach_hook() allocates a new PCI chipset tag for the new bus and sets it's "curnode" to the OFW node of the bridge. This is used as a starting point when enumerating that bus. Root busses get the OFW node of the host bridge (psycho). rev 1.59 Split the code that enumerates the PCI bus and that actually probes for a device into two functions: * pci_probe_device() actually probes/attaches the device specified by the provide pcitag_t. * pci_enumerate_bus() enumerates the bus, and calls pci_probe_device() for each device on the bus. A pci_enumerate_bus_generic() is provided which implements the old method of doing this: If something found at dev0/func0, determine number of functions and probe each one. From NetBSD ok kettenis@ Tested on a good number of amd64/i386/macppc/sparc64 systems | |||
2006-03-19 | remove unused bdbtofsb(bn) macro | Martin Reindl | |
found by drahn@ | |||
2006-03-12 | Previous fix was half-done, move the wsscreen_list array into the softc | Miod Vallat | |
as well. | |||
2006-03-12 | When attaching a wsdisplay, the wsscreen_list structure can not be on the | Miod Vallat | |
stack; found the hard way by Stefano <stefano@merlinobbs.net>. | |||
2006-03-12 | remove splimp. | Brad Smith | |
2006-03-04 | <sparc64/dev/upavar.h> is unused except for struct upa_reg for autoconf, so | Miod Vallat | |
move it to <machine/autoconf.h>. | |||
2006-02-22 | Remove unused probeset() function. | Miod Vallat | |
2006-02-22 | Remove long unused ELF{32,64}_MACHDEP macros. | Miod Vallat | |
2006-01-08 | Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2 | Todd C. Miller | |
2006-01-06 | Don't redefine SIZE_MAX | Todd C. Miller | |
2006-01-06 | Adapt things to use __type_t instead of _BSD_TYPE_T_ | Todd C. Miller | |
Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable | |||
2006-01-06 | Merge machine/ansi.h and machine/types.h into machine/_types.h and | Todd C. Miller | |
rename the types using the __ protected namespace (e.g. __size_t). Idea from FreeBSD. | |||
2005-12-30 | Remove unused COMPAT_NETBSD32 block and get rid of register{32,64}_t | Todd C. Miller | |
which are now unused. Tested and OK miod@ | |||
2005-12-28 | Remove dead cruft. | Miod Vallat | |
2005-12-18 | Don't include cdefs.h if _LOCORE is defined and hide some more defines | Todd C. Miller | |
unless __BSD_VISIBLE or _LOCORE are set. OK deraadt@ | |||
2005-12-14 | convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@ | Todd C. Miller | |
2005-12-13 | First step in include files overhaul. Use __FOO_VISIBLE (as defined | Todd C. Miller | |
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@ | |||
2005-12-12 | Nuke unused pmap_from_phys_address(). | Miod Vallat | |
2005-11-24 | add lint-specific hacks. at the same time, clean out a lot of ancient | Theo de Raadt | |
cruft for old compilers and environments. there may be a 2nd round of polishing after this; ok miod and others | |||
2005-11-11 | Remove machdep.booted_kernel sysctl of questionable usefulness. | Miod Vallat | |
ok deraadt@ | |||
2005-10-24 | Mach-macro free | Martin Reindl | |
2005-09-21 | isbad() is only used on SMD disks on sparc; remove it on other platforms. | Miod Vallat | |
2005-09-12 | Change the NKMEMPAGES range to 4-64MB for 32bit arches, and 8-128MB for 64bit | Miod Vallat | |
arches; except on sparc where the range is 4-8 for !sun4m and 4-64 for sun4m, selected at runtime. | |||
2005-09-08 | make comments match the fact that we are on sun4u, plus minor cleanup | Martin Reindl | |
ok mickey@ | |||
2005-09-04 | remove unused NetBSD pci_intr_evcnt() function. | Brad Smith | |
2005-07-31 | Get rid of unused SINCR and SSIZE constants. | Miod Vallat | |
2005-07-10 | remove two unused flags | Brad Smith | |
2005-07-09 | Implement _bus_dmamem_mmap instead of just calling panic(); | Robert Nagy | |
This is needed by bktr(4). ok mickey@ miod@ | |||
2005-06-29 | some pendantic stuff from henric | Theo de Raadt | |
2005-06-29 | one PSR_ variable stayed; from henric | Theo de Raadt | |
2005-06-29 | remove v7/v8 stuff; from henric | Theo de Raadt | |
2005-06-28 | 2 more bits of PA in the TLB entries when you get to ultrasparc3; from henric | Theo de Raadt | |
2005-05-31 | IPL_SCHED should block statclock on architectures where the scheduler | Artur Grabowski | |
is clocked by the statclock. miod@ ok | |||
2005-05-29 | sched work by niklas and art backed out; causes panics | Theo de Raadt | |
2005-05-25 | This patch is mortly art's work and was done *a year* ago. Art wants to thank | Niklas Hallqvist | |
everyone for the prompt review and ok of this work ;-) Yeah, that includes me too, or maybe especially me. I am sorry. Change the sched_lock to a mutex. This fixes, among other things, the infamous "telnet localhost &" problem. The real bug in that case was that the sched_lock which is by design a non-recursive lock, was recursively acquired, and not enough releases made us hold the lock in the idle loop, blocking scheduling on the other processors. Some of the other processors would hold the biglock though, which made it impossible for cpu 0 to enter the kernel... A nice deadlock. Let me just say debugging this for days just to realize that it was all fixed in an old diff noone ever ok'd was somewhat of an anti-climax. This diff also changes splsched to be correct for all our architectures. | |||
2005-04-26 | Remove unused hooks for periodic pcons polling. | Miod Vallat | |
2005-04-19 | nothing uses spllowersoftclock() anymore | Michael Shalayeff | |
2005-04-14 | internal _BSD_WCTRANS_T_, _BSD_MSTATE_T_, _BSD_WCTYPE_T_ types. | Marc Espie | |
2005-04-11 | use MD #define to choose stackgap size per-architecture. on sparc, special | Theo de Raadt | |
case sun4c/sun4 -- because address space is more constrained | |||
2005-03-29 | sparc64 StackGhost. | Mark Kettenis | |
ok deraadt@ | |||
2005-03-15 | Nuke matchbyname(), which isn't used anymore. | Miod Vallat | |
ok deraadt@ | |||
2005-03-09 | Preliminary support for the floppy drive on Ultrasparcs. Only tested on | Miod Vallat | |
SBus machines so far, although EBus attachment glue is provided but not enabled by default. Also, fdformat(8) does not work correctly yet, although reading and writing is safe; this will hopefully be fixed in the near future. ok deraadt@ | |||
2005-03-07 | Do not bother passing the blanking routine to fbwscons_console_init(), | Miod Vallat | |
as fbwscons_attach() can find it on its own. | |||
2005-01-05 | PIL_AUD should be lower than PIL_SCHED, otherwise the audio code may | Federico G. Schwindt | |
leave setrunnable() in a bad state; problem reported by robert@, miod@ ok. | |||
2005-01-04 | SET_PC_REGS, arches tested between me and miod. | Marc Espie | |
2004-12-02 | Add pci_decompose_tag() for sparc64. | Brad Smith | |
From NetBSD ok deraadt@ | |||
2004-11-29 | Move the struct wsscreen_descr from a per-driver global to a per-instance | Miod Vallat | |
field of the sunfb structure. This allows multiple instances of the same driver, but with different resolutions (such as a couple of vigra or a TGX cgsix and a TGX+ cgsix) to use distinct wsscreen_descr structures featuring different resolution information. Doing this allows more wsscreen_descr fiddling inside the sparc* fb api, and results in some code shrinkage (about 4KB on sparc GENERIC). |