Commit Graph

140094 Commits

Author SHA1 Message Date
uwe 5f93873eda Shuffle the code to be more readable. Simplify. 2005-09-24 00:35:08 +00:00
uwe 7ef52537c9 Whitespace nits. 2005-09-24 00:12:20 +00:00
uwe 6ac484d14b Whitespace nit. 2005-09-23 23:29:29 +00:00
uwe b05347bffe Introduce mspcic_{read,write}_N instead of using struct syntax. This
is the first step to make PCIC run without byteswapping - which is
necessary for X server support.  Current macros are still just a
kludgy shim over struct syntax, but accesses to PCIC in the .c files
are now marked up properly.
2005-09-23 23:22:57 +00:00
rpaulo c07a3667e1 unregister_amq(): fix wrong if-clause (missing '!'). Noticed by
Christos Zoulas.
2005-09-23 22:27:14 +00:00
jmmv e230b755b3 Synchronize NFS status with reality. After yamt@ changes (I think with the
implementation of getpages and putpages and the use of UBC in the read and
write operations), the worst problem has gone away which was a panic when
a file's contents were modified in the original file system and then read
through the NFS mount point.

Also remove the entry about optimization.  While tmpfs still has room for
improvement, it has become a lot better lately, thanks to the string pools
and the changes yamt@ did in the anonymous objects handling.
2005-09-23 21:39:29 +00:00
christos a9a78a7c79 change bcopy to memmove since this was supposed to be an ovbcopy (from kre) 2005-09-23 21:21:58 +00:00
wiz 971a82acbe Use more, and more correct macros. Fix Xr section. 2005-09-23 20:58:50 +00:00
wiz ca32cb658b Fix Dd argument (long month name). 2005-09-23 20:53:08 +00:00
wiz 2b92eba533 Improve wording. Fix Dd argument. 2005-09-23 20:52:05 +00:00
wiz 4321428753 New sentence, new line. 2005-09-23 20:47:25 +00:00
wiz c31c860ef5 Fix typo, add missing parenthesis. 2005-09-23 20:46:18 +00:00
wiz 6021522859 Add missing comma. Mark up NULL with Dv. 2005-09-23 20:30:48 +00:00
wiz 50da23b12f Fix Dt abuse. 2005-09-23 20:29:08 +00:00
wiz ee1cc13ae5 Use only mdoc macros; remove unneeded Nm argument; use more
macros; English improvements.
2005-09-23 20:27:10 +00:00
wiz 6d698973ab Sort SEE ALSO. 2005-09-23 20:00:43 +00:00
wiz e904ea2e97 Drop trailing whitespace. 2005-09-23 19:58:28 +00:00
wiz d61c7b6e74 Remove trailing whitespace. Punctuation nits. Use .Nm more.
Use .An. Sort SEE ALSO.
2005-09-23 19:56:16 +00:00
jmmv d83dd97e63 Make this test timezone-agnostic so that it works in different timezones.
Found by riz@.
2005-09-23 19:41:39 +00:00
jmmv 50cbbb8bf4 Remove the mount<->netexport entry from the map during umount... otherwise
we leave a dangling pointer in the list *ouch*.
2005-09-23 19:39:15 +00:00
macallan 53ea55fd08 Added macros for bus_space_mmap() and bus_space_vaddr() 2005-09-23 18:53:16 +00:00
macallan aaddad0a64 forgot to commit this along with ofb.c 2005-09-23 17:51:37 +00:00
gavan 532593dd52 Note that MEMORY_DISK_DYNAMIC is incompatible with mdsetimage(8). 2005-09-23 17:31:10 +00:00
jmmv b0085cab71 Kill the tmpfs(9) manual page; it was just documenting internal details of
tmpfs' "API" and was already rotting.

Instead, merge all the relevant comments into the code.  This includes
acknowledgements to Google's Summer of Code 2005 program (they were in the
AUTHORS section of tmpfs(9) before), so all the files need to be changed
to include this sentence alongside the title.  (Note that this was not a
requirement of the program.)
2005-09-23 15:36:15 +00:00
jmmv f63b58d19d Lock the source directory during the rename operation so that we are safe
to modify it (I hope this is the correct way to go).  Avoids triggering an
assertion in the tmpfs_dir_detach function, shown by the t_rename
regression test.
2005-09-23 14:27:55 +00:00
manu 7e2e2c16ff Correctly initialize NAT-T VID to avoid freeing unallocated space 2005-09-23 14:22:27 +00:00
itohy c74744e70f Remove duplicated "portno %d" from the attach message. 2005-09-23 14:15:30 +00:00
jmmv 5d6f54160e Fix test after the changes to skip 0 and 1 node identifiers. 2005-09-23 14:11:15 +00:00
jmmv 8d09f0278b Start inode numbers on 2 to mimic UFS tradition (and to avoid problems if
some utility relies on this).
2005-09-23 13:59:16 +00:00
jmmv 2a3e5eeb7c Apply the NFS exports list rototill patch:
- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
  function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
  file sys/nfs/nfs_export.c.  The former was becoming large and its code
  is always compiled, regardless of the build options.  Using the latter,
  the code is only compiled in when NFSSERVER is enabled.  While doing this,
  also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
  path and a set of export entries.  At the moment it can only clear the
  exports list or append entries, one by one, but it is done in a way that
  allows setting the whole set of entries atomically in the future (see the
  comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
  that it becomes file system agnostic.  In fact, all this whole thing was
  done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
  exports initialization; done internally by the kernel when initializing
  the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
  subsystems can run arbitrary code upon receipt of specific VFS events.
  At the moment, this only provides support for unmount and is used to
  destroy NFS exports lists from the file systems being unmounted, though it
  has room for extension.

Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.
2005-09-23 12:10:31 +00:00
christos 992367dcfc un-obsolete tetris. 2005-09-23 00:31:42 +00:00
christos 1441dfb39d put back tetris; by popular demand. 2005-09-23 00:29:51 +00:00
nathanw 5cdc4355d7 umass_scsipi_sense_cb(): don't set XS_STS_DONE in xs->xs_status;
scsipi_done() will do that.
2005-09-22 22:39:37 +00:00
dyoung ca9595c087 Suppress false 'WARNING: LAST RESET DUE TO WATCHDOG EXPIRATION!'
indications by clearing the WDOVF status flag for real.  The way
to do that is by writing 1, not 0.
2005-09-22 19:34:58 +00:00
dyoung 9a5e721b1e Cosmetic: s/writing writing/writing/ in comments. 2005-09-22 18:57:39 +00:00
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