| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Fixes DMA problems spotted on the v445.
|
| |
|
|
|
| |
on the v445 (compared to the v215/v245). Generalize the code to allow for
arbitrary wirings. Makes the serial console on the v445 work.
|
| |
|
|
|
|
|
|
|
|
| |
an MI file, <sys/syscall_mi.h>, correcting inconsistencies and the
handling when copyin() of arguments fails.
Tested on i386, amd64, sparc64, and alpha (thanks naddy@)
Any issues with other platforms will be fixed in tree.
header name from millert@; ok miod@
|
| | |
|
| |
|
|
|
| |
used by Solaris for virtual ports (NPIV), and booting from thos is not
supported by OBP. Simplify the code accordingly.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the prototype-scsi_link's SDEV_2NDBUS flag rather than against its
scsibus field. First, the scsibus field hasn't even been initialized
when device_register() is called so it's always 0 anyway; second, the
path number is supposed to be locally scoped to a single device
whereas the scsibus field is a global scsibus(4) device number.
The existing code only happened to work because all of the dual-port
fibre-channel adapters we currently support attach as two devices with
one scsibus each rather than a single device with two scsibuses, so we
would never see anything but "fp@0".
Initial investigation and diff by jmatthew after my SCSI cleanups at
c2k11 broke sparc64's ability to boot from isp(4); newer version from
me based on discussion with krw and kettenis.
tested and ok kettenis
|
| |
|
|
|
|
|
|
|
| |
MI float.h which pulls in and defines the values that are needed from
there, and repair sys/limits.h so that it defines the values it needs
as well (depending on POSIX version, XPG version, etc). guenther has
a more exact selection of that coming for limits.h.
this also fixes a few mistakes for the vax.
reviewed by kettenis and guenther.
|
| |
|
|
|
|
|
|
|
| |
so that it can't get a signal while still running on the parent thread's
stack. Also, pass in sizeof(struct __tfork) to provide forward compat
when more members are added. This is an ABI change, so switch syscall
numbers and bump lib majors this time.
ok deraadt@ matthew@
|
| |
|
|
|
|
| |
these (DEBUG) defines.
ok miod@
|
| |
|
|
| |
ok miod@
|
| |
|
|
|
|
| |
from a fork syscall done by the parent. Use __tfork, not rfork
here to match the ktrace records for the parent (CALL __tfork,
RET __tfork). ok guenther
|
| |
|
|
| |
ok deraadt@
|
| | |
|
| |
|
|
| |
"MTU" of 4096 bytes.
|
| | |
|
| |
|
|
|
|
|
| |
of per-rthread. Handling of per-thread tick and runtime counters
inspired by how FreeBSD does it.
ok kettenis@
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
control domain to talk to the sun4v hypervisor.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
out the intended device name from the realdev constructed by
opendev(). Should fix the issue found by stsp@ in trying to install
a boot-from-softraid sparc64.
ok deraadt@
|
| |
|
|
|
| |
root on softraid possible, although the kernel still needs to be loaded
from a non-softraid partition.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use opendev() like we do for installboot on many other archs.
- Use the term bootblock rather than prototype for the first-stage, since
we install it verbatim.
- Read the bootblock into a zeroed buffer rather than messing around with
mmap() and zeroing the end of the space.
- Make man page consistent with respect to the first-stage bootblock and
second-stage boot program.
ok kettenis@ jmc@ (for the man part)
|
| |
|
|
|
|
| |
related code.
ok kettenis@
|
| |
|
|
|
| |
past, pull that code out seperately.
ok guenther miod
|
| |
|
|
| |
by krw and myself.
|
| |
|
|
| |
ok guenther@
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
for pointing to the thread-control-block. Support for mapping this
to the correct hardware register can be added as it's finished;
start with support for amd64, sparc, and sparc64. Includes syscalls
for getting and setting it (for a portable __errno implementation) as
well as creating a new thread with an initial value for it.
discussed with miod@, kettenis@, deraadt@; committing to get the syscalls
in with the impending libc bump and do further refinements in tree
|
| |
|
|
|
|
| |
they apply.
ok oga@ deraadt@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This mandatory function will get invoked in pci_probe_device(), and allows
a pci host driver to alter the pci_attach_args passed to a device when
attaching.
This function will also, if returning non-zero, cause the device to be
skipped completely during all the phases of the PCI device discovery
(i.e. ressource enumeration, ressource assignment, and actual attachment).
This particular feature is experimental and might be reverted in the future
(or the scope narrowed to device attachment only).
A dummy #define pci_probe_device_hook() 0 is added to all platforms except
sgi, where real functions (currently only returning 0) are added; real meat
will be added shortly.
Discussed at s2k11, no objection from the usual suspects.
|
| |
|
|
| |
discussed with jsing and millert
|
| |
|
|
|
|
|
|
|
| |
which stops the MI com code from probing it as a 16550a.
hopefully this will prevent the awesome faults on the mainboard from
locking the system up.
ok kettenis@
|
| |
|
|
|
|
|
| |
uint64_t, depending upon the platform; this makes the declaration of these
types consistent accross all our supported platform, and we do not intend
to support a platform where bus_addr_t could be larger than the size of the
cpu register. Requested by deraadt@ during s2k11
|
| |
|
|
|
| |
deraadt@ and jsing@ noticed hppa64 label_t was too short; amazing this did not
get noticed earlier.
|
| |
|
|
| |
ok ariane@
|
| | |
|
| |
|
|
|
|
|
|
| |
compat names kept in <machine/param.h>. In <sys/socket.h>, pull
in <sys/_types.h> instead of the namespace polluting <machine/param.h>
and completely eliminate __CMSG_ALIGN, replaced by _ALIGN
ok deraadt@
|
| |
|
|
|
|
|
|
| |
Since the underlying types of the int_fast types are set by machine/_types.h,
put internal macros in that same file and define the exposed
INT_FAST*_{MIN,MAX} macros from those.
ok millert@, kettenis@
|
| |
|
|
| |
ok guenther@
|
| |
|
|
| |
systems.
|
| |
|
|
|
|
| |
is causing problems when trying to boot sparc64 from an isp(4).
Verified to fix the sparc64/isp(4) regression by krw@; ok deraadt@
|
| |
|
|
|
|
|
|
|
| |
scsibusattach() is called, so saa_sc_link->bus hasn't been initialized
to a valid pointer yet.
Easy fix: Use dev->dv_unit instead of poking into the attach args.
ok krw@, jsing@
|
| |
|
|
|
|
| |
as it causes hangs in some ports, including libsigsegv's configure script
confirmed by krw@, landry@
|
| |
|
|
|
|
| |
saa_luns instead of adapter_buswidth and luns in the prototype link.
ok dlg@, miod@
|
| | |
|
| |
|
|
|
|
|
|
| |
spikes in other developers by making it so that removal of a .d
file without removing the corresponding object will result in the
latter being treated as out of date.
ok beck@ art@ drahn@
|