Commit Graph

169556 Commits

Author SHA1 Message Date
chs
5069fb4d04 pmap_upvo_pool needs to use IPL_VM since it is used from
pmap_kenter_pa(), which can be called from interrupt context.
2008-05-05 04:40:53 +00:00
rmind
5d2295cf6d Move the values to POSIX_* and use the constants for MADV_*, since these
are inside _NETBSD_SOURCE ifdef.
2008-05-05 03:12:24 +00:00
jmcneill
473a55317b Wrap debug printfs in #ifdef DEBUG_LINUX (hi njoly!) 2008-05-05 02:29:31 +00:00
tsutsui
44b2bb4cfa Use device_private() where appropriate. 2008-05-05 01:37:56 +00:00
ad
104f8564ec Remove unneeded includes. 2008-05-05 00:33:32 +00:00
jmcneill
729313d52c Use 2-clause license. 2008-05-05 00:12:49 +00:00
ad
b68bfe3ffa A couple of dumb utilities:
array2bin: take array[] from array.h and spit it out as a binary.
bin2blob: take a binary file and output a compressed image as a C array.
2008-05-04 23:50:32 +00:00
ad
e724ef3c86 Provide zcalloc()/zcfree() so that uncompress() works. 2008-05-04 23:48:05 +00:00
ad
b407147f14 Move zlib out of net/ and into kern/. It would probably be better to use
the reachover Makefiles and libz, but this is already here and it works.
2008-05-04 23:07:09 +00:00
ad
d2c9207a91 Don't check sys/net/zlib.h. 2008-05-04 22:59:18 +00:00
ad
9f4cef7b1f Don't install sys/net/zlib.h. 2008-05-04 22:58:52 +00:00
jmcneill
76b70ae0dc Note amd64 drm support. 2008-05-04 21:55:33 +00:00
jmcneill
dc2a8d24fc Ugh, unbreak _DRM_SHM on amd64 again. 2008-05-04 21:43:01 +00:00
rumble
7846a18697 Fix an error path that previously panicked when module_fetch_info failed. 2008-05-04 21:35:12 +00:00
oster
5a9093cfac Both StripeUnitsPerParityUnit and StripeUnitsPerReconstructUnit need
to be positive integers.
2008-05-04 20:57:23 +00:00
jmcneill
63b0503310 Fix compilation on i386. 2008-05-04 20:27:50 +00:00
jmcneill
2b4fd7dc0e For _DRM_SHM allocations, do not use the VA as drm_map handle on x86_64
since udv_attach will not accept a larger offset than signed 64-bit will
provide. Not the best fix, but good enough for now -- at least an X server
will now startup and get proper mappings.
2008-05-04 20:09:32 +00:00
rumble
6d44774c77 If a device transmit timeout occurs and sc_txintrperiod is greater than
one, throttle it down before the reset. This way the user need not know
the magic `hw.ath0.txintrperiod=1' fix if the default value is too high
for their machine.
2008-05-04 20:02:06 +00:00
cegger
46512505a9 Update headers: Welcome Xen 3.2.1
Important note: This does not break backward-compatibility. It is still possible to run on Xen 3.1.4.
Hint for developers: Use the xen_version hypercall to determine at runtime if a new hypercall will work. Also check the hypercall return code.
Tested by me and bouyer. OK bouyer.
2008-05-04 19:56:28 +00:00
martin
637bc2e71d Move TNF licenses to 2 clause form 2008-05-04 19:43:05 +00:00
jmcneill
7380b7991e Returning EINVAL from drm_mmap isn't a smart thing to do. 2008-05-04 19:19:40 +00:00
tonnerre
34f7daa87e Fix a bug in the implementation of seekdir(). If the first entry in
a block has been unlinked, seekdir() may overshoot by one entry.
Thus, _readdir_unlinked() must not skip deleted entries when being
called from seekdir().
Christos agreed.
2008-05-04 18:53:26 +00:00
xtraeme
dd178c786e mii_dev is a device_t now. 2008-05-04 17:14:41 +00:00
xtraeme
7db0e57765 device_t/softc split for all mii(4) devices, and other related
cosmetic changes.
2008-05-04 17:06:09 +00:00
xtraeme
7f44567d7c device_t/softc split and other related cosmetic changes. 2008-05-04 16:16:56 +00:00
xtraeme
db484efd57 device_t/softc split for spic(4) and other related cosmetic changes. 2008-05-04 16:13:35 +00:00
xtraeme
e9025ab64a device_t/softc split and other related cosmetic changes. 2008-05-04 15:58:51 +00:00
tsutsui
6dc246f785 Update gcc4-m68000 entry again. 2008-05-04 15:42:12 +00:00
tsutsui
34dd728d42 There is only one more file which requires HACKS for m68000,
so handle it in each Makefile rather than sys.mk.

These ICEs might be related with GCC Bugzilla Bug 32424
which is not resolved yet even in the upstream.
2008-05-04 15:37:19 +00:00
xtraeme
9fbdf1594f device_t/softc split and other related cosmetic changes. 2008-05-04 15:26:29 +00:00
xtraeme
07c2a78bc8 device_t/softc split for adt7467c(4) and adm1030, and other related
cosmetic changes.
2008-05-04 14:45:01 +00:00
xtraeme
5232253e58 device_t/softc split. 2008-05-04 14:21:55 +00:00
xtraeme
7ecae1b00d Finish device_t/softc split. Previous commit was incomplete. 2008-05-04 14:01:14 +00:00
xtraeme
efa94e2017 device_t/softc split. 2008-05-04 13:59:41 +00:00
martin
0e03d618c3 Move TNF license to 2 clause form 2008-05-04 13:56:27 +00:00
martin
e2f85759d2 Move TNF license to standard 2 clause form.
While there, fix small pasto in UBC license.
2008-05-04 13:50:11 +00:00
martin
592397db3f Move to standard TNF 2 clause license 2008-05-04 12:59:38 +00:00
ad
0f457ea616 Pull in the kernel module stuff so that rump can set up built-in modules. 2008-05-04 12:52:58 +00:00
ad
517f9684fe Make it compile as part of librump. 2008-05-04 12:51:44 +00:00
martin
3b114abfef Move to standard TNF 2 clause license 2008-05-04 12:50:38 +00:00
ad
0915c596fe Ensure that there is always a link_set_vfsops, until we kill VFS_ATTACH(). 2008-05-04 12:43:58 +00:00
martin
4685680579 Move to standard TNF 2 clause license 2008-05-04 12:43:45 +00:00
martin
c21f953fcb Remove my personal license, the TNF one is good enough for me. 2008-05-04 11:00:09 +00:00
thorpej
b129a80c20 Simplify the interface to netstat_sysctl() and allocate space for
the collated counters using kmem_alloc().

PR kern/38577
2008-05-04 07:22:14 +00:00
manu
5ae0f4961a Make sure temporary errors are reported as such, using status code
EX_TEMPFAIL (cannot lookup user through NSS, may be because of an
unreachable NIS or LDAP server), or EX_OSERR (other file or memory
related problems).

Sendmail and Postfix should honour EX_TEMPFAIL and EX_OSERR by
queueing the message.

This avoids problems with transcient NSS errors, where the MTA may
successfully lookup a user at a time while mail.local can fail a
few secoonds later.
2008-05-04 03:03:11 +00:00
martin
673523f500 Move to standard TNF 2 clause license 2008-05-04 00:35:37 +00:00
martin
9c63b7e8cc Move to 2 clause TNF license 2008-05-04 00:18:16 +00:00
jklos
b92aa793c1 Fix leds.c to compile. 2008-05-04 00:10:42 +00:00
martin
3b9bf49423 Move to standard TNF 2 clause license 2008-05-04 00:01:08 +00:00
martin
f6c08ca517 Move to 2 clause TNF license 2008-05-03 23:57:21 +00:00