Commit Graph

162738 Commits

Author SHA1 Message Date
pooka 5643bf6454 Make pu_haskq a flag instead of its own variable. 2007-10-25 10:59:45 +00:00
nisimura 1b23a1904b add two popular GeE PCI cards. big endian CPU aware and works with
PIPT writeback cache.  still crude, refinement will follow as tests
on real HW progress.
2007-10-25 10:54:55 +00:00
he f085246ad5 Move from want_resched to ci->ci_want_resched. 2007-10-25 09:43:24 +00:00
nisimura 5e06d95c3f add three popular 10/100 Ethernet PCI cards. big endian CPU aware and
works with PIPT writeback cache.  still crude, refinement will follow
as tests on real HW progress.
2007-10-25 09:02:15 +00:00
dogcow 91db0cdea5 oh, for lack of a query... 2007-10-25 08:15:32 +00:00
jld eaef8d4ad7 Touching up the permissions to preserve set-ID bits is appropriate
only in the case where the destination did not previously exist, and
necessary only when -p isn't given.

Closes PR bin/30188.
2007-10-25 03:51:14 +00:00
imp d753725968 It is $NetBSD$ not $NetBSD%. Correct this typo. 2007-10-25 03:43:14 +00:00
xtraeme f444ee7a2f Add jmide(4). 2007-10-24 23:20:06 +00:00
xtraeme fdd1c8b450 regen 2007-10-24 23:08:24 +00:00
xtraeme 80f676f52f - Add support for the ServerWorks HT-1000 IDE Controller in rccide.
- Add support for another ServerWorks HT-1000 SATA Controller.

From OpenBSD.
2007-10-24 23:08:06 +00:00
ad 70b8c6f297 Fix debug builds. 2007-10-24 21:50:09 +00:00
pooka 86beec80f0 80col & whitespace police. no functional change. 2007-10-24 15:28:55 +00:00
pooka 50591a9595 "flags * (M_CANFAIL | M_NOWAIT)" is probably not correct. Use & instead.
And while committing, add other random cruft I've needed recently.
2007-10-24 15:00:37 +00:00
ad bccf777b72 Make ras_lookup() lockless. 2007-10-24 14:50:38 +00:00
nisimura 65cdd295c3 Add fxp(4) to facilitate the entire development cycle. Benefitial
to emulate NAS products with southbridge-less SP3 and EnCorePP1.
2007-10-24 14:01:01 +00:00
reed b72da12b34 Add HISTORY: The strtof() and strtold() functions appeared in NetBSD
4.0.
2007-10-24 13:42:10 +00:00
yamt ea03f830b4 make -s alter the default format rather than doing parsefmt.
it allows users to use -o to replace it later.
2007-10-24 12:10:11 +00:00
joerg 1b3b209f70 Remove code that was never meant to hit the tree in first place. 2007-10-24 10:12:34 +00:00
pooka bb8c674435 add RSVP. from Jim Wyllie on tech-userlevel and Denis Lagno
in PR misc/37194
2007-10-24 09:38:40 +00:00
joerg bced6f4565 Reduce difference to i386 GENERIC:
- add some comments from that
- options SPACE TAB
- enable EST
- enable DDB and build w/ frame pointer by default
- enable ACPI devices
- include AGP
- include Cardbus and PCMCIA
- include Synaptics driver
- include atw, ipw, iwi, hme, rtw, txp
- include uep, stuirda, utoppy, ugensa

This makes GENERIC actually usable for laptops.
2007-10-24 07:09:09 +00:00
joerg 65eda08509 Pass correct argument to callback, botched up in the last commit. 2007-10-24 07:05:35 +00:00
dyoung d072fd0fb9 Replace rote sockaddr_in6 initializations (memset(), set sa6_family,
sa6_len, and sa6_add) with sockaddr_in6_init() calls.

De-__P().  Constify.  KNF.  Shorten a staircase.  Change bcmp() to
memcmp().

Extract subroutine in6_setzoneid() from in6_setscope(), for re-use
soon.
2007-10-24 06:37:20 +00:00
joerg 05911100fa cpufunc.S depends on assym.h. 2007-10-24 06:26:56 +00:00
joerg 25f1319b9a Before faking up a state table, make sure that neither frequency nor
voltage difference is 0. This avoids a divide by zero.
2007-10-24 06:21:32 +00:00
xtraeme 03ececeaba Use a flag for see_flags to know when the sensor has been refreshed
rather than using a boolean. Suggested by rmind.
2007-10-23 21:36:03 +00:00
dyoung 28f88dda1b Borrow a clue from the vmlocking branch, and consolidate all of
the vput(9)ing in tmpfs_rmdir() in one place.  No functional change
intended.
2007-10-23 19:49:01 +00:00
dyoung b0281cfdf3 Fix typo: I'm pretty sure that in tmpfs_done(), both of the malloc(9)
types are supposed to be detached, not attached.
2007-10-23 19:45:29 +00:00
dyoung f6f0161f95 Put _tmpfs_ in the name of the pools instead of _pool_. Obviously
they're pools; it's not so obvious that they come from tmpfs. :-)
2007-10-23 19:43:54 +00:00
ad 2d1592ce20 Clear VV_LOCKSWORK from the correct field. 2007-10-23 19:40:53 +00:00
pooka 17cfaf2828 The kernel (genfs, uvm) can't deal with strategy returning an error
when vclean()ing.  Pending an adventure to the genfs/vm labyrinth
to fix this properly, compensate here by not allowing unstrategic
(no pun) return values.  They are always due to the userspace server
crashing anyway, so it's no big deal if we lie about the final
resting place of the pages.
2007-10-23 18:27:10 +00:00
pooka e955e253d7 revert 1.77, MULTITHREADED_REFUSE has problems 2007-10-23 17:19:19 +00:00
pooka 85f641f339 Don't take a reference to the vfsops structure in mount_domount().
It is now taken when the vfs structure is received instead of having
to randomly add references in random places.  Fixes at least vfs
lkm unload.
2007-10-23 16:16:26 +00:00
tnozaki 561e0bd51b remove invalid range check. 2007-10-23 15:28:25 +00:00
pooka ea84bd1c76 vfs_getopsbyname("ngs") -> vfs_getopsbyname("nfs"). 'nuff said 2007-10-23 15:21:31 +00:00
christos d727506fb5 From Anon Ymous:
- Introduce date_to_tm() and hl_date_to_tm() to parse the date and
  headline date a bit more efficiently.
- If 'tm_isdst' is determined, let strftime(3) handle the '%Z' and
  '%z' formats.  Otherwise, output "-0000" and "???", respectively, to
  help preserve with alignment; strftime(3) will output an empty
  string in these case.
- Change fail() to use the '-d' flag (which sets the 'debug' variable)
  rather than the "debug" _environment_ variable.  This is more
  consistent with other warnings.
- Don't use gcc C extensions, e.g., "case LOW ... HIGH:".
- Define is_WSP() in def.h to be an inline function that for checks
  whitespace (WSP = ' ' or '\t'), as defined in RFC 2822.  Use it
  consistently in place of isblank().
- For consistency, rename skip_blank() to skip_WSP().
- Add inline skip_space() to complement skip_blank() (now skip_WSP).
- Check all ctype(3) calls for argument range issues.
- Whitespace and comment cleanup/changes.
2007-10-23 14:58:43 +00:00
yamt 1b559b4c2c proc0_init: change lwp0's priority from PRIBIO to PUSER so that
init and its children has a user priority.  uvm_scheduler adjusts
its own priority later.
2007-10-23 14:15:48 +00:00
martin 4c5676b9c4 Translate oldsendmail message. 2007-10-23 13:26:09 +00:00
yamt 1ea0b1c177 vmem_rehash_all: remove no longer unnecessary splvm/splx pairs. 2007-10-23 11:29:06 +00:00
macallan f09600843e fix bus_spacification fallout
from KIYOHARA Takashi
2007-10-22 19:29:13 +00:00
sjg 401ecd47f5 Allow .PATH<suffix> to be used for .include "". 2007-10-22 15:36:13 +00:00
joerg 2f9fa522b8 Also convert detach function. 2007-10-22 15:31:46 +00:00
joerg 2136a42b1e Convert to device_t/softc split and aprint usage. 2007-10-22 15:28:48 +00:00
pooka 1d8cbeebb1 Note that CIRCLEQ_LOOP first appeared in NetBSD 4.0. 2007-10-22 15:01:18 +00:00
manu 95269f5829 Regen 2007-10-22 15:01:16 +00:00
manu 818aeac0ff Add support for Marvell 88CO55. Newer iMacs come with that chip. 2007-10-22 14:59:37 +00:00
joerg dcf90eeb82 Correctly initialise sc_insert_ch and switch to
callout_setfunc/callout_schedule.
2007-10-22 14:03:51 +00:00
wiz f480a18fd3 postfix-2.4.6 out. 2007-10-22 11:26:55 +00:00
nisimura 26c6496de9 regen 2007-10-22 10:35:15 +00:00
nisimura 2f67a49066 PCI ID 10b5.9030 and 10b5.5201 are for PLX I/O accelerator product
model 9030 and 9050/9052.  They work a functional bridge to host
any kind of I/O devices.  The exact product type can be identified
via VPD (vital product ID) PCI configuration registers if they are
programmed by the particular PLX I/O accelerator applications.
Otherwise, it's not possible to distinguish which kind of function
is implemented inside.
2007-10-22 10:33:03 +00:00
nisimura 2839aa3fd4 dismiss GENERIC.X2 kernel to build as the conf file has gone. 2007-10-22 06:46:14 +00:00