Commit Graph

108261 Commits

Author SHA1 Message Date
jdc ec51d5cc4b Change the way we calculate conflicts when turning off attributes.
We now check the termcap entries for "\E[m" or "\E[0m" or a longer
"\E[ ... m" sequence containing a "0".
2003-01-27 21:12:29 +00:00
jdc 8ca56fe956 Check for conflict between colour and other attributes. The previous
checks when adding attributes could be inadequate if background colours
were later added to a window.
2003-01-27 21:11:12 +00:00
jdc 2d83114a86 ARemove (no longer used) __nca. 2003-01-27 21:09:20 +00:00
jdc e46d737f27 Add can_change_color() and no_color_video(). 2003-01-27 21:08:09 +00:00
jdc a3ce96fb84 Rename can_change_colors() to can_change_color().
Add can_change_colors() (that just calls can_change_color()).
Add no_color_video().
Replace __nca with _cursesi_screen->nca.
2003-01-27 21:06:16 +00:00
jdc f62975e655 Remove check for attribute/colour conflict.
This is now handled in refresh.c as it's not possible to handle the
conflict with background colour here.
2003-01-27 21:04:10 +00:00
jdc 1482f4ac4b Rename can_change_colors() to can_change_color().
Add no_color_video().
2003-01-27 21:03:04 +00:00
nathanw 6505a5330c Add debug counters for mutex and condvar operations. 2003-01-27 21:01:00 +00:00
nathanw 05a755440a Add cancellation stubs for accept() and connect(). 2003-01-27 20:57:41 +00:00
fvdl 161423ddca Reset in_reclen and in_received after having received a full record in
the nonblocking case.
2003-01-27 20:56:45 +00:00
nathanw c316063660 Move accept and connect stubs to WEAKASM so that they can be overridden. 2003-01-27 20:55:56 +00:00
nathanw ee45767b84 printf format fixes. 2003-01-27 20:54:26 +00:00
nathanw 01ca174f62 Call exit_lwps() from exit1() if there is more than one LWP (as
recorded by p_nlwps) *or* if the process was a SA process. Since
cached SA LWPs aren't counted in p_nlwps, it was possible for
them to not be cleaned up and remain on the alllwp list, pointing to a
dead proc.
2003-01-27 20:30:32 +00:00
thorpej 4155034751 G/C something left over from an earlier version of this code. 2003-01-27 20:18:11 +00:00
jdc a5caee4812 Add missing 'NC' (no color video) entry. 2003-01-27 19:50:20 +00:00
jmcneill 182716ac88 Attach to PNP0F03 -- makes the PS/2 mouse on this Dell work. 2003-01-27 19:18:46 +00:00
bouyer 0e0c2ae01d Remove revision in quirk entry for TOSHIBA XM-4101TASUNSLCD. The same drive with a newer revision also fails, so assume all revisions are bad until proven otherwise. Should fix PR kern/19912. 2003-01-27 18:55:24 +00:00
thorpej 3381232270 Experimental support for RAID volumes configured by ATA "RAID" controllers.
Such RAID controllers are actually just IDE controllers with a BIOS that
can create RAID volumes and write the configuration info to config blocks
on the disks.  The BIOS can do I/O to these volumes, and the OS must
understand the config blocks and implement RAID in software in order to be
able to use these volumes.

Only SPAN (simple concatenation) and RAID0 are supported at this time,
and writing back config blocks is also not supported at this time.  Currently,
only the Promise configuration scheme is supported, although supporting
the Highpoint scheme should not be too difficult.

In any case, this is sufficient to use the Promise RAID0 volume (thus
preserving the win2k AS installation) on this new Intel server I have.

Thanks to Soren Schmidt for doing the work in FreeBSD; it made this
task much easier.  The config block parsing code is adapted from his
work.
2003-01-27 18:21:23 +00:00
thorpej 9a1f475221 Add ADI_BRH, IXM1200, and SMDK2800 kernel sets. 2003-01-27 16:13:27 +00:00
tsutsui fbe7c30306 Remove trailing whitespace. 2003-01-27 15:33:36 +00:00
tsutsui 934e3c5a47 Set a value for MISCOUT register correctly in vga_setup_regs(). 2003-01-27 15:27:44 +00:00
tsutsui 289b9289f3 const'ify. 2003-01-27 15:22:47 +00:00
tsutsui 89b4d6221e - Replace some magic numbers with proper macro.
- Use vga_6845_{read,write}() defined in pcdisplayvar.h and
  remove vga_crtc_{read,write}() macros in vgareg.h.
2003-01-27 15:16:10 +00:00
christos 449f3dd270 public domain grep moved. 2003-01-27 14:54:39 +00:00
tsutsui 862013bb51 - Use u_int8_t instead of char for register structure.
- Define MC6845_NREGS like vgareg.h.
2003-01-27 14:53:33 +00:00
martin 25d624c843 Remove #if 0'd pmap_zero_page and pmap_copy_page, which are now
implemented in assembler in locore.s.
2003-01-27 14:53:08 +00:00
martin 309ada6129 Remove unused function pseg_find (which looked quite similar to
pseg_get anyway).
2003-01-27 14:51:30 +00:00
tsutsui a8c7515f5f KNF and space/TAB cleanup. 2003-01-27 14:46:10 +00:00
toshii 1e6d7bcb87 Use PRId64 for daddr_t in a DPRINTF. 2003-01-27 13:06:38 +00:00
christos 66b9125762 - use FD_CLOEXEC properly
- move ttyfd to a high fd
suggested by Tim Robbins at FreeBSD.
2003-01-27 12:54:08 +00:00
bouyer 0cb4c95848 Ops, initialise len before using it.
Also, the minimum frame len is ETHER_MIN_LEN - ETHER_CRC_LEN.
2003-01-27 10:35:08 +00:00
kleink 8fb0c069dc C++ does not permit static a data member to have the same name as its
class, so in a C++ environment rename the ip_opts member to Ip_opts as
observed in several other implementations; from Jon Olsson in
PR toolchain/19880.
2003-01-27 09:57:09 +00:00
martin 5070488327 More old cruft to nuke from orbit. This has been replaced by genassym.cf
a long time ago.
2003-01-27 09:52:27 +00:00
wiz 024a7d26ca Build and install gzip.info. 2003-01-27 09:07:13 +00:00
wiz 42ca888796 Add gzip.texi and gpl.texinfo from gzip-1.2.4a [needed for building
gzip.info].
2003-01-27 09:06:55 +00:00
elric bcc72a236b The last change I made was a little aggressive in changing the paths of
the includes and broke cross builds from non-NetBSD arches.  In this I
revert the problem section.  (pointed out by uwe.)
2003-01-27 06:19:40 +00:00
thorpej a151e17b89 Allow pseudo-devices to be declared with an interface attribute. For
such pseudo-devices, create cfdrivers for them which carry the appropriate
attributes.  This allows devices in the config file to be attached to
pseudo-devices.
2003-01-27 05:00:54 +00:00
lonewolf 14757120f4 Fix compiler warnings after 64bit daddr_t change. 2003-01-27 04:08:45 +00:00
elric 0e936e5ed7 Fix password return values.
Addresses PR: lib/20074
2003-01-27 03:33:36 +00:00
thorpej 8dc5018716 If the upper-layer provides a geometry, use it. 2003-01-27 02:43:30 +00:00
enami c3d0a7a93b uvm_page_unbusy should skip PGO_DONTCARE page; e.g., locked pgo_getpages
request may contain PGO_DONTCARE and nfs_getpages may unbusy them on error.

Fix is provided in PR#20028 by YAMAMOTO Takashi.  (and same one is approved
by chuq while ago in private mail).  It was my fault to forget to commit.
2003-01-27 02:10:20 +00:00
kleink c8493ced3c Appease GCC's warning after daddr_t having changed to 64 bits. 2003-01-27 01:39:36 +00:00
uwe 85b406eda9 s/ulong/unsigned long/. ulong is for SysV compatibility, there's no
point in using it in our code.  This change makes makefs(8) compile on
host systems without ulong.
2003-01-27 01:34:09 +00:00
uwe 59e06de8b5 When built as a host tool, don't search /dev as we only use sunlabel
on the disk image.  This ifdefs out a call to getrawpartition() so we
don't have to provide a compatibility replacement for it.
2003-01-27 01:29:06 +00:00
uwe 2cb7caac8e Build with -DNO_S_COMMAND. We don't need to set the in-core label
when we are a host tool.  This avoids a conflict with inline dkcksum()
in FreeBSD's <sys/disklabel.h>.
2003-01-27 01:25:07 +00:00
uwe 5bc6d9c431 On FreeBSD host define _DONT_USE_CTYPE_INLINE_ before including ctype.h.
We pull in our _RuneLocale, while the inlines are for the host _RuneLocale.
2003-01-27 01:22:10 +00:00
uwe af823cea6c Provide __SCCSID() needed by pwd_mkdb. 2003-01-27 01:17:47 +00:00
wiz eed8d2eb1b Note difference between uucp-1.06.1 and 1.06.2. 2003-01-27 00:56:12 +00:00
wiz 84c070bc3a Email address changes and typo fixes from gzip-1.2.4a synced. 2003-01-27 00:51:12 +00:00
wiz bbaec56433 Sync with gzip-1.2.4a (typo fixes and email address changes). 2003-01-27 00:44:14 +00:00