Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-03-24 | - Set the PCI latency timer for bus master devices. | Brad Smith | |
- Turn on parity checking for the PCI bus. From NetBSD Tested on U5/U10/U30/Netra X1/T1 105/Leopard-V | |||
2006-03-23 | Extra parentheses in comments. | Ray Lai | |
From Alexey Dobriyan. OK miod@ and otto@ | |||
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-15 | use sysctl_int_lower() for the aperture variable. This lets root close | Theo de Raadt | |
the aperture without having to reboot, but does not allow re-opening; ok matthieu | |||
2006-03-15 | Nuke dk_establish(), no longer used. | Miod Vallat | |
2006-03-13 | * Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to | Brad Smith | |
NULL for root PCI busses. For busses behind a bridge, it points to a persistent copy of the bridge's pcitag_t. This can be very useful for machine-dependent PCI bus enumeration code. From NetBSD ok grange@ kettenis@ | |||
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 | Typos grab bag of the month, eyeballed by jmc@ | Miod Vallat | |
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-03-04 | creator needs rasops32 only, and vgafb never needs rasops24. | Miod Vallat | |
2006-03-04 | add art(4) here. | Brad Smith | |
2006-02-25 | Put quotation marks around names of unconfigured devices. | Mark Kettenis | |
ok deraadt@ | |||
2006-02-22 | Remove unused probeset() function. | Miod Vallat | |
2006-02-22 | Remove long unused ELF{32,64}_MACHDEP macros. | Miod Vallat | |
2006-02-16 | pcscp(4) works | Martin Reindl | |
ok brad@, miod@ | |||
2006-02-10 | driver for Philips PCF8591 I2C ADC sensor. Because of the mindlessness | Damien Miller | |
of this chip, it is impossible to probe for and we need to be told where it is and how to understand its output. We get this information from openfirmware, but this restricts the use of the driver to sparc64 for now. Only sensors that OFW identifies as temperature sensors are supported at present. prodded by dlg@ "get it in" deraadt@ | |||
2006-02-09 | split the ofw scan up into two parts: one to find the i2c bus on a pci | David Gwynne | |
device, and one to find i2c devices on the i2c bus. tweaks and ok kettenis@ ok djm@ | |||
2006-02-08 | add a member to the i2c_attach args so that a controller can pass a | David Gwynne | |
cookie down to the device. the most obvious use of this is to pass a device its ofw node on sparc64 and macppc so it can configure itself more appropriately. ok kettenis@ henning@ deraadt@ | |||
2006-02-06 | typos from alexey dobriyan; | Jason McIntyre | |
2006-02-05 | Commit uncommitted bit from 2006/01/03 change to locore.s: | Mark Kettenis | |
Try to prevent red stating the machine on a misaligned user space stack by SIGKILLing the process. ok miod@, henric@ | |||
2006-02-01 | oops | David Gwynne | |
2006-02-01 | a driver for the phillips pcf8584 i2c controller as found on the sun netra | David Gwynne | |
t1 105. tested by henning@ djm@ ok kettenis@ put it in deraadt@ | |||
2006-01-30 | When delivering SIGFOO, make sure the siginfo code is a FOO_xxx constant; | Miod Vallat | |
also deliver SIGILL/ILL_COPROC rather than SIGFPE/FPE_FLTINV for disabled or missing floating point support. | |||
2006-01-22 | b_cylin -> b_cylinder; no functional change. | Miod Vallat | |
2006-01-11 | hotplug(4) and hotplugd(8) here | Martin Reindl | |
2006-01-09 | Remove completely obsolete comment from the pre-wscons sparc days in | Miod Vallat | |
zs_getc(). | |||
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 | Don't add the same function twice when ordering the functions of a PCI device. | Mark Kettenis | |
Prevents alipm(4) attaching twice on Blade-100. ok deraadt@ | |||
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. | |||
2006-01-03 | Try to prevent red stating the machine on a misaligned user space stack by | Mark Kettenis | |
SIGKILLing the process. ok miod@, henric@ | |||
2006-01-02 | Remove orphaned cpu_exec_aout_makecmds() since we don't _KERN_DO_AOUT. | Miod Vallat | |
2006-01-02 | do i2c initialization using ofw data instead of scanning; ok kettenis | Theo de Raadt | |
this may require some changes for non-pmu controllers later, which may do the ofw tables slightly differently | |||
2005-12-31 | Make PT_SETFPREGS work even if the process didn't use the fpu yet. | Mark Kettenis | |
ok miod@ | |||
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-30 | Now that errno.h and sys/errno.h are separate header files there is no | Todd C. Miller | |
need to use the -Derrno=errno workaround added when __errno() was introduced. OK deraadt@ | |||
2005-12-28 | Remove dead cruft. | Miod Vallat | |
2005-12-27 | enable some i2c bus drivers (piixpm(4), alipm(4), ichiic(4)) as needed | Theo de Raadt | |
by each arch enable adc(4), admtemp(4), admlc(4), admtm(4), admtmp(4), admtt(4), adt(4), lm(4), lmenv(4), lmtemp(4), maxds(4), and maxtmp(4) iic chip drivers too, which provide gobs of sensor info | |||
2005-12-27 | Remove unused sw_nblks field of struct swdevt. Then, remove swapconf() | Miod Vallat | |
which duplicates work done by uvm_swap_init(). | |||
2005-12-25 | Ensure child_return() leaves registers the same way a successfull system | Miod Vallat | |
call would. | |||
2005-12-22 | Set correct partition offset to 0 when initializing RAW_PART. | Kenneth R Westerback | |
ok deraadt@ | |||
2005-12-20 | using the right ebus bus space makes this beep again | Martin Reindl | |
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-17 | Fix PT_{GET|SET}FPREGS. Make sure we flush the fpu before reading/modifying | Mark Kettenis | |
the state in the pcb. Make sure we don't thrash the initial fpu state for (currently unsupported) 32-bit processes. ok miod@ | |||
2005-12-16 | Compile out process_sstep() as we don't define PT_STEP, thus nothing uses | Miod Vallat | |
these functions. ok kettenis@ | |||
2005-12-14 | convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@ | Todd C. Miller | |