Commit Graph

149704 Commits

Author SHA1 Message Date
Ed Maste
66a48b9837 MFC r198518:
Add link for callout_schedule(9).
2009-11-05 13:54:35 +00:00
Alexander Leidinger
c199dd3eab MFC r196511:
- Update config to doxygen 1.5.2 (I use this with 1.5.9).
  - Add linprocfs and linsysfs to the linuxulator dox.
  - Take the generated includes from the .m files from a subdirectory
    instead of putting everything into $(.OBJDIR). This imporves the
    human readbility of the source directory contents a lot, if you do not
    create a separate OBJDIR.
  - Assume UTF-8 encoding for every input file.
  - Strip the source and dest path from the output, we are not interested
    in the absolute location on the machine where the docs are created,
    relative the the root of the FreeBSD source is what interests us.
  - Exclude .svn directories.
  - Switch to alphabetic index.
  - Use one line per INCLUDE_PATH member in the common dox-config.
  - Bump the __FreeBSD__ version to 9. [here in the MFC: to 8]
  - Switch from hardcoded .m files to an run-time generated one. Takes
    a little bit more time to get started with actual work, but at least
    is more future-proof. If you generate dox for all subsystems, the
    time to find all .m files in the source is magnitutes lower than
    producing the docs.
  - Make the *DEST_PATH overidable from the environment. This allows to
    produce the output directly in the docroot of a webserver.
  - Fix the path when telling the user where he can find the API docs.
2009-11-05 08:31:42 +00:00
Ed Maste
9d37c171d7 MFC r197437:
Use %zu for size_t, not %zd.
2009-11-05 02:27:56 +00:00
John Baldwin
dad4753c04 MFC 198554:
Fix some problems with effective mmap() offsets > 32 bits.  This was
partially fixed on amd64 earlier.  Rather than forcing linux_mmap_common()
to use a 32-bit offset, have it accept a 64-bit file offset.  This offset
is then passed to the real mmap() call.  Rather than inventing a structure
to hold the normal linux_mmap args that has a 64-bit offset, just pass
each of the arguments individually to linux_mmap_common() since that more
closes matches the existing style of various kern_foo() functions.
2009-11-04 20:49:14 +00:00
Pyun YongHyeon
0b333599d5 MFC r197586:
It seems some 82559ER controllers do not support Rx checksum
  offloading. Datasheet said nothing about the limitation of 82559ER
  except WOL. Explicitly disable Rx checksum offloading for
  controllers that is known to lack the capability.

  PR:	kern/138135
  Tested by:	Gooderum, Mark < mgooderum <> websense dot com >
2009-11-04 18:31:43 +00:00
John Baldwin
6fd3786837 MFC 197772:
When the timeout backoff hits the maximum value, leave it capped at the
maximum value rather than setting it to the result of a boolean expression
that is always true.
2009-11-04 16:58:26 +00:00
John Baldwin
2d7c21427d MFC 198586: Include the output of the ddb(4) capture buffer. 2009-11-04 16:05:09 +00:00
John Baldwin
8892395181 MFC 198585:
When extracting the capture buffer from a crashdump, only read the valid
portion of the capture buffer.
2009-11-04 16:03:47 +00:00
Christian Brueffer
d5c7a9c3d9 MFC: r198542
Initialize f_rabuf in the raw device case. A subsequent close()
later on would try to free it, leading to a crash.
2009-11-04 13:40:04 +00:00
Christian Brueffer
a4f93c1075 MFC: r198539
Close a stream file descriptor leak.
2009-11-04 13:30:32 +00:00
Christian Brueffer
e4e76802b8 MFC: r198537
Close a file descriptor leak in an error case.
2009-11-04 13:06:09 +00:00
Christian Brueffer
efab19fed7 MFC: r198546
Remove spurious `)`
2009-11-04 12:35:35 +00:00
Edwin Groothuis
4fa864798b MFC of r198825: tzdata2009q
- New region: Asia/Novokuznetsk
- Kemerovo oblast' (Kemerovo region) in Russia will change current
  time zone on 29 March 2010
- Add historical data for Hongkong 1941 - 1980
- Syria will go to winter time in the last weekend of October 2009.
2009-11-04 10:46:55 +00:00
Andrew Thompson
b64689e0fb MFC r198775
Fix a corner case where usbd_transfer_drain() can return too early if the
 callback has dropped the mutex, leading to a panic.

Submitted by:	HPS
2009-11-04 01:50:25 +00:00
Rui Paulo
db463c13da MFC r198581:
Update the route's sequence number upon receiving a RANN.
2009-11-03 23:26:31 +00:00
Max Laier
67de44048a MFC r197334,r197433:
Extract svn and git version info from git-svn repos.
2009-11-03 21:57:00 +00:00
Alan Cox
225da9692c MFC r197524
Make malloc(3) superpage aware.
2009-11-02 18:44:01 +00:00
Ed Maste
55dd54d73f MFC r197011:
Increase AAC_CMD_TIMEOUT from 30s to 120s to help avoid spurious
  "COMMAND 0x........ TIMEOUT AFTER .. SECONDS" messages.  Any commands
  that get truly stuck will still trigger the warning and the hardware
  health check, just a little bit later.
2009-11-02 16:54:23 +00:00
Ed Maste
f94d7478f3 MFC r197082:
If the pxe client is told to use / as the root path, honour that rather
of trying to mount /pxeroot instead.

PR:		i386/106493
Submitted by:	Andrey Russev
2009-11-02 16:46:06 +00:00
Ed Maste
b561979f8c MFC r197692:
In fill_kinfo_thread, copy the thread's name into struct kinfo_proc even
  if it is empty.  Otherwise the previous thread's name would remain in the
  struct and then be reported for this thread.

Submitted by:	Ryan Stone
2009-11-02 16:32:32 +00:00
Ed Maste
7c064f68be MFC r198029:
Correct typo: thetime -> the time

PR:		docs/139447
Submitted by:	Guido Falsi  mad at madpilot dot net
2009-11-02 16:27:34 +00:00
Ed Maste
af8e9d942c MFC r198541:
Do first controller time sync after 1 minute, as in Adaptec's vendor
  driver.
2009-11-02 16:22:59 +00:00
Robert Noland
de546efdad MFC 198696
Cleanup in r600_blit

     - Don't bother to assign vb until we know we have enough space
     - Add variables for sx2, sy2, dx2, dy2 so that these aren't
       calculated over and over, also reduce chance of errors.
     - Use switch to assign color/format
2009-11-02 16:02:16 +00:00
Robert Noland
1a4d349290 MFC 198695
A bit of cleanup work on radeon_freelist_get()

 * Fix the main loop to search all buffers before sleeping.
 * Remove dead code
2009-11-02 15:59:55 +00:00
Robert Noland
6400e3ac8c MFC 198692
Use system specified memory barriers rather than rolling our own.
2009-11-02 15:57:03 +00:00
Robert Noland
1675ae3b86 MFC 198691
Fix blitter support for RS880 chips
2009-11-02 15:53:32 +00:00
Max Khon
fd6bbf0435 MFC: Allow KMOD with hypens and dots. 2009-11-02 09:47:15 +00:00
Alan Cox
12e8008e6d MFC r197163
Add the FBSD_1.2 namespace.

Reminded by:	kib
2009-11-01 20:24:17 +00:00
Alan Cox
588b5e6ee8 MFC r197331, r197394
Add getpagesizes(3).
2009-11-01 19:22:07 +00:00
Alan Cox
30aae71b22 MFC r197393
Add FreeBSD 7.2 and 7.3.
2009-11-01 18:48:06 +00:00
Andriy Gapon
ea9b1909f6 MFC 197450: number of cleanups in i386 and amd64 pci md code 2009-11-01 18:39:26 +00:00
Andriy Gapon
19b7bdf72b MFC 198272, 198288: fix watchdogd(8) reference 2009-11-01 18:16:55 +00:00
Andriy Gapon
2866adee7d MFC 198279: fix sorting of some amd* entries in some makefiles 2009-11-01 18:10:38 +00:00
Andriy Gapon
2df1facbb7 MFC 198279: fix sorting of some amd* entries in some makefiles 2009-11-01 17:56:45 +00:00
Andriy Gapon
fc06d8191e MFC 198271: add amdtemp to i386 NOTES 2009-11-01 17:53:33 +00:00
Andriy Gapon
f13868d206 MFC 197647: cpufunc.h: unify/correct style of c extension names 2009-11-01 17:45:37 +00:00
Andriy Gapon
33b3442f13 MFC 197658: print machine in kernel boot version string
PR:		kern/126926
2009-11-01 17:40:05 +00:00
Andriy Gapon
b8daad66fd MFC 197641: print_caddr_t: drop incorrect __unused from parameter 2009-11-01 17:36:36 +00:00
Andriy Gapon
0406cc12b6 MFC r197128,197325: add support for smbus controller found in AMD SB700 2009-11-01 11:34:13 +00:00
Christian Brueffer
d0b37c2f34 MFC: r198609
Revert part of r198363, there is no "device cam", it is
included in "device scbus".
2009-11-01 10:56:03 +00:00
Ed Schouten
f36e7051c7 MFC various commits back to stable/8:
SVN r197174:
  Make sure we never place the cursor outside the screen.

  For some vague reason, it may be possible that scp->cursor_pos exceeds
  scp->ysize * scp->xsize. This means that teken_set_cursor() may get
  called with an invalid position. Just ignore the old cursor position in
  this case.

  Reported by:  Paul B. Mahol <onemda gmail com>

SVN r198213:
  Make lock devices work properly.

  It turned out I did add the code to use the init state devices to set
  the termios structure when opening the device, but it seems I totally
  forgot to add the bits required to force the actual locking of flags
  through the lock state devices.

  Reported by:	ru

SVN r198215, r198217:
  Fix a typo in the jail(8) manpage.

  Submitted by: Jille Timmermans <jille quis cx>

SVN r198216:
  Fix qouting in a comment, to make it look more consistent

  Submitted by: Jille Timmermans <jille quis cx>

SVN r198223:
  Properly set the low watermarks when reducing the baud rate.

  Now that buffers are deallocated lazily, we should not use
  tty*q_getsize() to obtain the buffer size to calculate the low
  watermarks. Doing this may cause the watermark to be placed outside the
  typical buffer size.

  This caused some regressions after my previous commit to the TTY code,
  which allows pseudo-devices to resize the buffers as well.

  Reported by:  yongari, dougb
2009-11-01 10:30:30 +00:00
Alexander Motin
5d933cfd98 MFC rev. 198623:
Add missing ATA kernel options dependencies.
2009-11-01 10:01:39 +00:00
Stacey Son
83613795b2 MFC 197240,197241,197242,197243,197293,197294,197407:
Add EVFILT_USER filter and EV_DISPATCH/EV_RECEIPT flags to kevent(2).

Approved by: rwatson (mentor)
2009-10-31 21:22:18 +00:00
Alan Cox
13529df13b MFC r197317
When superpages are enabled, add the 2 or 4MB page size to the array of
  supported page sizes.
2009-10-31 19:02:08 +00:00
Alan Cox
ebc91405bd MFC r197316
Add a new sysctl for reporting all of the supported page sizes.
2009-10-31 18:54:26 +00:00
Alan Cox
38c15033c7 MFC r198472
Eliminate an unnecessary check from vm_fault_prefault().
2009-10-31 18:18:32 +00:00
Antoine Brodin
5a1c285266 MFC r196891 to stable/8:
Change w_notrunning and w_stillcold from pointer to array so that sizeof
  returns what is expected.

  PR:		kern/138557
  Discussed with:	brucec@
  MFC after:	1 month
2009-10-31 12:26:40 +00:00
Christian Brueffer
ce68852cc2 MFC: r198356
Fix a memory leak in an error case.
2009-10-31 11:08:04 +00:00
Christian Brueffer
b7ef6e29a5 MFC: r198327
Add a missing free() call.
2009-10-31 10:59:53 +00:00
Edwin Groothuis
05edd60be4 MFCs of r197764, r197765, r197766, r197847:
Modified locale(1) to be able to show the altmon_X fields and the
[cxX]_fmt's.  Also modify the "-k list" option to display only
fields with a certain prefix.

Add the comment "(FreeBSD only)" to the altmonth_x keywords
2009-10-31 06:35:40 +00:00