Commit Graph

158306 Commits

Author SHA1 Message Date
jmcneill e88e747668 Replace pckbc with macekbc.
Enable crmfb
Enable wsfont, wsmux
2007-04-12 13:14:53 +00:00
jmcneill eaf962445e Remove pckbc_mace, it has never worked and has been replaced by macekbc 2007-04-12 13:12:00 +00:00
jmcneill 5d51f0c963 Enable O2 onboard framebuffer driver. 2007-04-12 13:10:59 +00:00
jmcneill d4c79dc9a5 Add crmfb, a framebuffer console driver for the onboard O2 video (SGI-CRM) 2007-04-12 13:10:20 +00:00
pooka 65ec9d356d Don't clobber callee save registers r12 & r13 in swapcontext. They
were saved in the stack, but the subsequent swapcontext would return
to the earlier stack frame and never restore them.  Fixes puffs
with default compiler flags on amd64.

Thanks to Mihai Chelaru for providing access to an amd64 machine
for debugging this problem.
2007-04-12 12:33:26 +00:00
skrll ee87345f90 Remove unused label. 2007-04-12 10:07:36 +00:00
lukem 2d50a59010 Use IEC 60027-2 prefixes for 2^n based prefixes. 2007-04-12 06:50:39 +00:00
macallan 7347fd3ceb build wsfb on sparc64 2007-04-12 06:41:36 +00:00
lukem 3d05e3a2bc Update example to use KiB per recent change to ../ftp/progressbar.c 2007-04-12 06:31:20 +00:00
dyoung b7dea03346 Make the members of the descriptors volatile, because the NIC and
the host share them.

Before breaking out of the loop over descriptors in gem_rint(),
DMA-resynchronize the first Rx descriptor we found that does not
belong to the host.  We must avoid a cached descriptor "covering"
a descriptor in RAM, because the cached descriptor may say that
the descriptor still belongs to the NIC, when that is not true,
and the driver will hang.

XXX I believe this driver only works by luck on hosts that both
XXX have a cacheline size greater than the size of a descriptor
XXX (16 bytes) and lack DMA/cache coherency.  I need to add some
XXX trickery to make sure that we don't scribble over the NIC's
XXX changes to a descriptor when we flush a cached descriptor to
XXX RAM with bus_dmamap_sync(9).
2007-04-12 06:14:40 +00:00
lukem 7898b5e0a8 Use the IEC 60027-2 2^n based "KiB", "MiB", "GiB", (etc)
suffixes for byte displays since we're using 2^n scaling,
instead of the SI 10^n based "KB", "MB", "GB" (etc).
2007-04-12 06:13:02 +00:00
dyoung af26ee6d9c Use PRIx64 and PRIx32 format strings. Remark about lack of DMA
synchronization at some debug code that reads descriptors.
2007-04-12 05:56:01 +00:00
chs cb9ef1cfbd apply revision 1.31 yet again:
"make sure that we don't try to allocate negative memory when blks == 0."
or on amd64, "make sure that we don't allocate 32 GB when blks == 0."
2007-04-12 05:19:18 +00:00
thorpej 5672861f48 Document the thorpej-atomic branch. 2007-04-12 05:07:58 +00:00
thorpej f49c4e1415 thorpej-devvp is dead. 2007-04-12 05:03:33 +00:00
lukem 98b66d0b78 Fix using /usr/bin/ftp as a slave process on the end of a pipe by calling
fflush(stdout) before each command.
Taken from FreeBSD's pre-lukemftp version of ftp.
2007-04-12 04:25:00 +00:00
lukem 00e5aa03ea whitespace pedantry 2007-04-12 04:18:22 +00:00
reinoud 1adc8479ba Some rogue implementations use random physical partion numbers just to
break other implementations so lookup the physical number instead of
indexing it. Choosing random numbers here is legal according to the specs,
but not a logical choice and most likely done as a wierd kind of copy
protection.

Rogue implementation found to use this
	*Microsoft CDIMAGE UDF
2007-04-12 01:56:36 +00:00
lukem b1e08b00c3 Various fixes from Nicholas Marriott sent to openbsd-tech and in private email:
* Prevent segfault if a .netrc token is too long.
* Prevent segfault when using a macro from an empty macdef.
* Check more return values.
2007-04-12 01:28:13 +00:00
degroote 20341ba8ef Add sysctl tree to modify the fast_ipsec options related to ipv6. Similar
to the sysctl kame interface.
2007-04-11 22:21:41 +00:00
degroote 68c3173bb4 When we construct an answer for SADB_X_SPDGET, don't use an hardcoded 0 for seq but
the seq used by the request. It will improve consistency with the answer of SADB_GET
request and helps some applications which relies both on seq and pid.

Reported by  Karl Knutsson by pr/36119.
2007-04-11 21:33:40 +00:00
pooka 1cfe630356 adapt to new readdir signature. no functional change 2007-04-11 21:21:50 +00:00
degroote 2a2cd74d79 In spddelete2, if we can't find the sp by this id, return after sending an error message,
don't process the following code with the NULL sp.

Spotted by Matthew Grooms on freebsd-net ML
2007-04-11 21:19:35 +00:00
pooka 7ed53cb9ec adapt to new readdir signature. no functional change 2007-04-11 21:10:49 +00:00
pooka 5af002af7d support nfs exporting sysctlfs. it is now possible to manage the
sysctl tree for a host over nfs (for however megaexciting that is)
2007-04-11 21:08:52 +00:00
pooka 3e65ff17b5 support nfs exporting dtfs 2007-04-11 21:07:54 +00:00
pooka 664eefa775 update prototype of vfs_vptofh 2007-04-11 21:06:32 +00:00
pooka 6b7023f08f * support nodetofh and fhtonode callbacks
* use new signature of node_readdir
2007-04-11 21:04:51 +00:00
pooka f50d2a26f2 * support VFS_FHTOVP and VFS_VPTOFH
* support cookies in for VOP_READDIR

nfs exporting puffs file systems works now
2007-04-11 21:03:05 +00:00
plunky a7ea3f4e89 add const to the data for hid_use_report_desc() since it does
not modify the memory.
2007-04-11 20:56:20 +00:00
bouyer dcb3400385 Sync ISO target directory and name with distrib/common/Makefile.bootcd:
target directory is ${RELEASEDIR}/iso/, named ${MACHINE}cd.iso by
default.
2007-04-11 20:46:09 +00:00
plunky 6b1f9646c6 release prop objects after they have been retained by dictionary 2007-04-11 20:01:01 +00:00
plunky 51bb5141d1 constify char *service 2007-04-11 19:59:02 +00:00
garbled 4256fea0fa add the define of MCA_MAX_SLOTS here 2007-04-11 18:33:52 +00:00
garbled d3f6afef69 Remove the define of MCA_MAX_SLOTS from mcareg.h, and include
mca_machdep.h, because the maximum number of slots is inherently MD.
2007-04-11 18:32:19 +00:00
garbled 29fbd02006 Regen 2007-04-11 18:11:34 +00:00
garbled 6256d37223 Add a bunch of adapters from my rs6000 to this file 2007-04-11 18:11:15 +00:00
macallan e1dc09af02 clean up tadpole_request() API
from mrg
2007-04-11 16:30:26 +00:00
christos c2d75511d9 Add CDSOURCE variable to include the source in the CD. From Anon Ymous
Misc cleanups
2007-04-11 16:21:40 +00:00
njoly bc7c2c3b94 Regen (statfs support). 2007-04-11 11:51:19 +00:00
njoly f771d34a84 - Add compat amd64 linux32 statfs support, adapted from PR/35956.
- Move bsd_to_linux_statfs() function to its own file to be shared
  between both linux compats.

ok by manu.
2007-04-11 11:45:55 +00:00
pooka c634885e0f make overspammy debug printf less overspammy 2007-04-11 09:43:19 +00:00
kiyohara a0f7691122 Add btuartd.conf to bluetooth. 2007-04-11 07:16:28 +00:00
lukem ea73350dac Suppress printing non-COMPLETE reply strings from EPSV and EPRT, as we're
going to fall back to PASV / PORT (respectively) if the former fail,
and this avoids printing a failure reply followed by a success reply.
Should fix a problem with the emacs ftp wrapper.
2007-04-11 05:03:25 +00:00
macallan 7c906f3f93 return 100 in match() so we beat genfb 2007-04-11 05:01:39 +00:00
macallan cea884f98c mention genfb 2007-04-11 04:51:26 +00:00
macallan df0a99cbb2 fix a typo 2007-04-11 04:48:31 +00:00
macallan 70eab97a3a add WSDISPLAYIO_LINEBYTES support so we can run XFree86 with wsfb 2007-04-11 04:47:09 +00:00
macallan 32376f5c18 pull in rasops1 and rasops32 2007-04-11 04:46:33 +00:00
macallan 9b5f7f0162 add an sbus frontend fro genfb
in theory this should work on any SBus framebuffer
tested on various cgsix and p9100, needs to be tested on more hardware
2007-04-11 04:45:45 +00:00