Commit Graph

140059 Commits

Author SHA1 Message Date
macallan
80c8afadaa enable real PCI IO operations on macppc
( needs ofb.c 1.42 2005/09/22 and ppc_video.c 2005/09/22 )
2005-09-22 18:53:26 +00:00
macallan
178f17c813 - center output to match firmware settings when using the ROM font
- allow the super user to mmap() the PCI IO area corresponding to ofb at offset
  0xf2000000 - needed by some XFree drivers ( approved by Bill Studenmund )
- add a hack to allow mmap()ing offset 0xa0000 - 0xbffff if not covered by the
  regular framebuffer mapping at offset 0 ( disabled by default, use options
  OFB_FAKE_VGA_FB ) - this allows buggy XFree drivers which expect the VGA
  framebuffer at this address to work.
2005-09-22 18:16:56 +00:00
salo
4db8c20f4c Mark tetris as obsolete. (hi christos!) 2005-09-22 17:25:01 +00:00
gdt
a73a22a4b2 Make arg of IFQ_SET_READY be &ifp->if_snd, to match all other drivers
and be compilable with altq enabled.  Reviewed by dyoung@
2005-09-22 16:15:20 +00:00
chs
6a0a597fbf pull in changes from i386 profile.h:
- allow profiling of MP kernels, add a spinlock around the body of mcount().
   fixes PR 31360.
 - save and restore eflags instead of just doing cli/sti.
2005-09-22 15:47:03 +00:00
chs
b8035c1db1 add a shared-lib dependency on libfreetype, since this library calls that one. 2005-09-22 15:42:57 +00:00
chs
1c08e0e246 avoid another divide-by-zero while computing geometry. 2005-09-22 15:41:14 +00:00
rpaulo
3c4f143c6e Fix bogus if-clause introduced in previous revision. 2005-09-22 14:04:29 +00:00
rpaulo
a12bed5a16 In ffs_unmount(), detect EOPNOTSUPP errno returned from
ufs_extattr_stop().

From FreeBSD.
2005-09-22 13:50:55 +00:00
rpaulo
1b8fb7a81f In ufs_extattr_stop(), if we haven't started yet, errno must be set
before bailing out.

From FreeBSD.
2005-09-22 13:49:03 +00:00
christos
55130020a8 PR/31370: Andreas Wiese: Remove tetris from rescue 2005-09-22 12:29:31 +00:00
dyoung
647d6ec240 Remark on AMD Geode SC1100 additions: system reset, watchdog timer. 2005-09-22 07:54:11 +00:00
dyoung
f6fb08f361 Add the manual page for geodewdog(4), the driver for the AMD Geode
SC1100's integrated watchdog timer.
2005-09-22 07:31:10 +00:00
simonb
279a125665 TAB police. 2005-09-22 07:13:27 +00:00
dyoung
65eb42952c Add a driver for the watchdog timer on the AMD Geode SC1100. 2005-09-22 07:09:35 +00:00
dyoung
36f0c93a20 Reset the AMD Geode SC1100. Previously, the Geode hung after
printing "resetting...".  Now it really restarts.

Code from FreeBSD.  Description of what the code does by me.
2005-09-22 06:45:03 +00:00
tsarna
a3e8f0991e Add pam_afslog. Like pam_krb5, this is a fast, quiet no-op if you aren't
actually using it the subsystem.

Approved by: gendalia
2005-09-22 01:02:12 +00:00
cube
4f5ce13e05 Third version of the DiskOnKey chip needs the same trick as the two others.
Combined with Nathan's previous commit, this allows the DiskOnKey 3 to
work on NetBSD!  Thanks to Marc Baudoin for lending the device.
2005-09-21 21:19:27 +00:00
nathanw
9787fefd1c usbd_setup_pipe(): Don't call usbd_clear_endpoint_stall(). It's not
necessary for normal devices, and it prevents some common (but
apparantly buggy) devices from working, including the Apple iPod (mini
and photo) and certain M-Systems DiskOnKey flash devices.

If (also buggy) devices resurface that need this when they are
attached, they can be addressed, ideally in each device's driver.
2005-09-21 20:17:22 +00:00
xtraeme
b11450ab76 Mention vfs.sync.*, bump date. 2005-09-21 19:08:44 +00:00
macallan
cc58522caf - avoid using global variables unless necessary, this should fix weird
problems when more than one mach64 is present
- check memory BARs in mach64_mmap() and adjust allowed ranges in case
something ( XFree86 for instance ) changed them
- disable 'standard' framebuffer mapping at offset 0 on sparc64 because some
Sun/ATI firmware likes to map PCI resources there. May be necessary on other
64bit architectures as well.
2005-09-21 18:49:16 +00:00
christos
1fa8cb34f1 revert dplog changes. 2005-09-21 16:28:03 +00:00
tv
21eb6bbacb pthread_attr_getschedpolicy() wasn't setting the return buffer at all.
SCHED_OTHER happens to be 0, so this assignment to "int *" succeeds,
and becomes a no-op.

Fix by dereferencing "policy" to do the assignment, thus filling the
return buffer with 0.
2005-09-21 15:27:14 +00:00
tron
3cc3e3c7a3 Correct documentation about Mode Config. It now works without XAuth, too.
Patch supplied by Emmanuel Dreyfus on the "ipsec-tools" mailing list.
2005-09-21 15:06:22 +00:00
tsarna
cf833f9d39 Take credit for pam_afslog 2005-09-21 14:58:52 +00:00
tsutsui
40d804cfae Sync DK types and FS types with <sys/disklabel.h>.
XXX: More other stuff should be sync'ed?
2005-09-21 14:51:20 +00:00
christos
51f092ffb7 PR/31364: Douglas Fraser: cmd680 IDE controller not configured properly. 2005-09-21 14:32:46 +00:00
joerg
ecd31e06aa Add joerg@netbsd.org. 2005-09-21 14:25:09 +00:00
tsarna
8c033b7764 Note pam_afslog 2005-09-21 14:20:56 +00:00
tsarna
4019a4212f pam_afslog is used in conjunction with pam_krb5 to obtain AFS tokens and
create a PAG if necessary.

Especially important for home directories on AFS.
2005-09-21 14:19:08 +00:00
tron
dc5127a31e Make "Mode Config" work if XAuth is not used. 2005-09-21 12:46:08 +00:00
christos
c9f5645213 use getgrnam_r; from Jon Nemeth 2005-09-21 12:24:11 +00:00
yamt
bddc9e47fe add a file which i forgot when reviving VMSWAP option. 2005-09-21 10:21:46 +00:00
simonb
50bc896229 Remove trailing white space. 2005-09-21 09:19:23 +00:00
christos
debf7b4781 More simple projects. 2005-09-21 03:13:44 +00:00
bouyer
8519a64973 inline 2 trivial functions that are called often (according to profiling
data).
2005-09-20 20:33:53 +00:00
bouyer
0b1f7e4a8c When disconnecting a device, we have to wait for pending I/O before releasing
the ressources (this can lead to a dom0 kernel crash when destroying a domain
with active I/O going). For this, add a refcount to struct xbdback_instance,
and defer CMSG_BLKIF_BE_DISCONNECT reply until refcount is back to 0 (which
means all queued buffers have completed).
Based on patch sent by Jed Davis on port-xen.
2005-09-20 20:29:18 +00:00
rpaulo
9c9c9cc011 Note the am-utils update and add rpaulo as another responsible person. 2005-09-20 18:41:43 +00:00
rpaulo
f50a838989 Mention am-utils 6.1.2.1 upgrade. 2005-09-20 18:40:22 +00:00
rpaulo
bff4a0b82d mapc_showtypes() takes two arguments.
Fix a typo in the merge: s/sprintf/snprintf/.
2005-09-20 18:29:52 +00:00
rpaulo
c37aa2f852 Move the prototype for dplog() outside of the #ifdef DEBUG and avoid a
warning.
2005-09-20 18:07:04 +00:00
rpaulo
87dab801e3 Updated autoconf generated files for am-utils 6.1.2.1. 2005-09-20 18:00:15 +00:00
rpaulo
32f8c84662 Merge am-utils 6.1.2.1. 2005-09-20 17:57:44 +00:00
rpaulo
80fbfa7fec Import of am-utils 6.1.2.1. 2005-09-20 17:12:54 +00:00
christos
8de29063ea - Bump default data size from 128M to 256M, allows the java interpreter to
start up without unlimit.
- Bump max data size from 2G to 3G. The actual space we are allowed to allocate
  is somewhere between 2G and 3G, so trying to allocate above that will fail.
- Bump max stack size from 32M to 64M.

Approved by fvdl
2005-09-20 16:38:58 +00:00
he
c8a9612d27 Initialize pw to placate -Wuninitialized for sh3. 2005-09-20 15:48:17 +00:00
jschauma
367b7cbf46 add nsfw - not suitable for work 2005-09-20 13:22:04 +00:00
yamt
a0093a4cf5 uninline vn_start_write and vn_finished_write as they are big enough. 2005-09-20 09:49:01 +00:00
wiz
7df453330f am-utils-6.1.2.1 is out. 2005-09-20 09:14:40 +00:00
mrg
1a05f328bc apply a patch from christian biere:
- if we have an open fd, use it instead and, eg, fstat(2), of the file name
and stat(2).
- signed/unsigned variable fixes
- misc. cleanup
2005-09-20 05:12:15 +00:00