]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
15 years agoExclude list for tcpdump imports.
rpaulo [Sat, 21 Mar 2009 15:46:37 +0000 (15:46 +0000)]
Exclude list for tcpdump imports.

15 years agoo Spell.
maxim [Sat, 21 Mar 2009 10:10:33 +0000 (10:10 +0000)]
o Spell.

15 years agoRevert r190173 as it breaks 64bit arches.
thompsa [Sat, 21 Mar 2009 05:44:22 +0000 (05:44 +0000)]
Revert r190173 as it breaks 64bit arches.

15 years ago- In bge_ifmedia_upd_locked() take advantrage of LIST_FOREACH().
marius [Sat, 21 Mar 2009 00:23:07 +0000 (00:23 +0000)]
- In bge_ifmedia_upd_locked() take advantrage of LIST_FOREACH().
- If boot verbose, print asicrev, chiprev and bus type on attach.
- For PCI Express devices:
  1) Adjust max read request size to 4Kbytes
  2) Turn on FIFO_LONG_BURST in RDMA during bge_blockinit()
  Though 1) does not seem to have much to do with the poor TX performance
  observed on PCI Express bge(4), 2) does fix the problem. [1]
- Nuke the RX CPU self-diag, which prevents working cards from working
  (Linux tg3 does not have this diag neither does OpenBSD's bge(4)).
  The increasing of the firmware handshaking timeout to 20000 retries
  done as part of the original commit isn't merged as way already have a
  way higher BGE_TIMEOUT of 100000.

PR: 119361 [1]
Obtained from: tg3 via DragonflyBSD [1], DragonflyBSD

15 years ago- Add Ukranian catalog
gabor [Fri, 20 Mar 2009 23:55:01 +0000 (23:55 +0000)]
- Add Ukranian catalog

Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua> (via private mail)

15 years agoSeparate the GEOM_PART entry into paragraphs with differences from old
ivoras [Fri, 20 Mar 2009 23:13:32 +0000 (23:13 +0000)]
Separate the GEOM_PART entry into paragraphs with differences from old
slicers. Add more notes.

Reviewed by: marcel (implicit)
Approved by: gnn (mentor) (implicit)

15 years agoFix compile with USB_HAVE_BUSDMA/USB_HAVE_UGEN/USB_HAVE_STRINGS.
thompsa [Fri, 20 Mar 2009 23:12:14 +0000 (23:12 +0000)]
Fix compile with USB_HAVE_BUSDMA/USB_HAVE_UGEN/USB_HAVE_STRINGS.

Submitted by: Hans Petter Selasky

15 years agoAdd umass quirk.
thompsa [Fri, 20 Mar 2009 22:17:27 +0000 (22:17 +0000)]
Add umass quirk.

PR: usb/132799
Reported by: Yoshihiro Ota
Submitted by: Hans Petter Selasky

15 years agoMFp4 //depot/projects/usb @159423, 159497
thompsa [Fri, 20 Mar 2009 22:15:22 +0000 (22:15 +0000)]
MFp4 //depot/projects/usb @159423, 159497

- Return a Zero Length packet on read errors.
- Allow for smaller buffer size.

Submitted by: Hans Petter Selasky

15 years agoMFp4 //depot/projects/usb@159446
thompsa [Fri, 20 Mar 2009 22:12:15 +0000 (22:12 +0000)]
MFp4 //depot/projects/usb@159446

Remove unused and depreciated function: usb2_get_devid().

Submitted by: Hans Petter Selasky

15 years agoMFp4 //depot/projects/usb@159517
thompsa [Fri, 20 Mar 2009 22:10:36 +0000 (22:10 +0000)]
MFp4 //depot/projects/usb@159517

Fix warnings with the IAR compiler.

Submitted by: Hans Petter Selasky

15 years agoMFp4 //depot/projects/usb
thompsa [Fri, 20 Mar 2009 22:04:33 +0000 (22:04 +0000)]
MFp4 //depot/projects/usb

Sync usb_core.h after header changes.

Submitted by: Hans Petter Selasky

15 years agoMFp4 //depot/projects/usb @159479,159502,159516,159522,159529
thompsa [Fri, 20 Mar 2009 22:01:45 +0000 (22:01 +0000)]
MFp4 //depot/projects/usb @159479,159502,159516,159522,159529

Workaround for buggy USB hardware not handling new SETUP packet before STATUS
stage is complete, this allows xfers to endpoint0 to return a short frame.

Submitted by: Hans Petter Selasky
Reported by:  me

15 years agoMFp4 //depot/projects/usb @159479,159502,159516,159522,159529
thompsa [Fri, 20 Mar 2009 21:57:54 +0000 (21:57 +0000)]
MFp4 //depot/projects/usb @159479,159502,159516,159522,159529

Workaround for buggy USB hardware not handling new SETUP packet before STATUS
stage is complete, this allows xfers to endpoint0 to return a short frame.

Submitted by: Hans Petter Selasky
Reported by: me

15 years agoNote that GEOM_PART is on by default in 8-CURRENT and how it's different
ivoras [Fri, 20 Mar 2009 21:51:27 +0000 (21:51 +0000)]
Note that GEOM_PART is on by default in 8-CURRENT and how it's different
from older slices.

OKed by: marcel
Approved by: gnn (mentor)

15 years agoMFp4 //depot/projects/usb @159431,159437,159438
thompsa [Fri, 20 Mar 2009 21:50:54 +0000 (21:50 +0000)]
MFp4 //depot/projects/usb @159431,159437,159438

- start using the new USB typedefs in the USB core
- Remove usage of USB_ADD_BYTES()

Submitted by: Hans Petter Selasky

15 years agoMFp4 //depot/projects/usb@159392
thompsa [Fri, 20 Mar 2009 21:48:11 +0000 (21:48 +0000)]
MFp4 //depot/projects/usb@159392

Add ifdefs for making parts of usb conditional.

Submitted by: Hans Petter Selasky

15 years agoExpand the per-node access cache to cache permissions for multiple users.
jhb [Fri, 20 Mar 2009 21:12:38 +0000 (21:12 +0000)]
Expand the per-node access cache to cache permissions for multiple users.
The number of entries in the cache defaults to 8 but is easily changed in
nfsclient/nfs.h.  When the cache is filled, the oldest cache entry is
evicted when space is needed.

I mirrored the changes to the NFSv[23] client in the NFSv4 client to fix
compile breakage.  However, the NFSv4 client doesn't actually use the
access cache currently.

Submitted by: rmacklem

15 years agoMFp4 //depot/projects/usb @159430
thompsa [Fri, 20 Mar 2009 19:04:31 +0000 (19:04 +0000)]
MFp4 //depot/projects/usb @159430

- Move tunable defines into usb_core.h and dependancy towards usb_defs.h
- Leave hardcoded defines in "usb_defs.h".
- Allow overriding all tunable defines.
- Add more customisable typedefs.
- Correct maximum device number.

Submitted by: Hans Petter Selasky

15 years agoMFp4 //depot/projects/usb @159379,159380
thompsa [Fri, 20 Mar 2009 18:59:53 +0000 (18:59 +0000)]
MFp4 //depot/projects/usb @159379,159380

Fixes for 8-bit and 16-bit compilation.

Submitted by: Hans Petter Selasky

15 years agoMFp4 //depot/projects/usb @159375,159376,159377
thompsa [Fri, 20 Mar 2009 18:56:27 +0000 (18:56 +0000)]
MFp4 //depot/projects/usb @159375,159376,159377

Further remove dependancy towards Giant.

Submitted by: Hans Petter Selasky

15 years agoReplace anholt with myself as drm maintainer.
rnoland [Fri, 20 Mar 2009 18:51:13 +0000 (18:51 +0000)]
Replace anholt with myself as drm maintainer.

Noticed by: miwi

MFC after: 3 days

15 years agovm_offset_t is unsigned, so compare of >= 0 is not needed.
rnoland [Fri, 20 Mar 2009 18:35:16 +0000 (18:35 +0000)]
vm_offset_t is unsigned, so compare of >= 0 is not needed.

Found with: Coverity Prevent(tm)
CID: 2259

MFC after: 3 days

15 years agovm_offset_t is unsigned and therefore can not be negative.
rnoland [Fri, 20 Mar 2009 18:30:20 +0000 (18:30 +0000)]
vm_offset_t is unsigned and therefore can not be negative.
Avoid unnessecary compares.

Found with: Coverity Prevent(tm)
CID: 2362,4215,4214,4209,4208,2363,4211,4210,4213,4212

MFC after: 3 days

15 years agoAdd two missing include files and prototype for sockfamilyname()
delphij [Fri, 20 Mar 2009 18:29:52 +0000 (18:29 +0000)]
Add two missing include files and prototype for sockfamilyname()
which is generated by mksubr.

15 years agoRemove the DRM_ERROR to fix build. It didn't make any sense anyway.
rnoland [Fri, 20 Mar 2009 18:01:32 +0000 (18:01 +0000)]
Remove the DRM_ERROR to fix build.  It didn't make any sense anyway.

MFC after: 3 days

15 years agoFix what appears to be a typo, and restore the registers correctly.
rnoland [Fri, 20 Mar 2009 17:51:26 +0000 (17:51 +0000)]
Fix what appears to be a typo, and restore the registers correctly.

Found with: Coverity Prevent(tm)
CID:  2454

15 years agoDon't deref dev->dev_private before checking that it exists.
rnoland [Fri, 20 Mar 2009 17:48:36 +0000 (17:48 +0000)]
Don't deref dev->dev_private before checking that it exists.

Found with: Coverity Prevent(tm)
CID: 2940

MFC after: 3 days

15 years agoAct like ranlib if our name ends in ranlib. In particular,
kientzle [Fri, 20 Mar 2009 17:11:45 +0000 (17:11 +0000)]
Act like ranlib if our name ends in ranlib.  In particular,
this works with some recent cross-building changes by Warner
that install ranlib as, e.g., "arm-freebsd7.1-ranlib".

Submitted by: John Hein

15 years agoRevert r190105 so that removing options KDB but DDB or GDB being
marius [Fri, 20 Mar 2009 17:10:50 +0000 (17:10 +0000)]
Revert r190105 so that removing options KDB but DDB or GDB being
available will cause the kernel to not respect -d and boot_kdb=1
for consistency with the other platforms as pointed out by marcel@.

15 years agoSmall cleanup to previous commit.
ed [Fri, 20 Mar 2009 14:32:51 +0000 (14:32 +0000)]
Small cleanup to previous commit.

Just use % 8, instead of & 0x7. This makes it easier to understand.

15 years agoJust use default behaviour on tabstops when using too many columns.
ed [Fri, 20 Mar 2009 14:31:08 +0000 (14:31 +0000)]
Just use default behaviour on tabstops when using too many columns.

It seems I didn't fix this issue before committing teken to the tree. My
initial idea was to somehow add an error mechanism to instruct the video
driver author to increase T_NUMCOL when using very big terminals. It
turns out we have platforms where we have gigantic consoles on systems
like the Apple PowerMac G5, which means we crash there right now.

Just ignore tabstops placed beyond column 160. Just force tabs to be
placed on each 8 columns.

Reported by: nwhitehorn

15 years agoFlatten vendor/libpcap and remove keyword expansion.
rpaulo [Fri, 20 Mar 2009 13:44:43 +0000 (13:44 +0000)]
Flatten vendor/libpcap and remove keyword expansion.

15 years agoCall the interface's if_ioctl from ifioctl(), if the protocol didn't
jamie [Fri, 20 Mar 2009 13:41:23 +0000 (13:41 +0000)]
Call the interface's if_ioctl from ifioctl(), if the protocol didn't
handle the ioctl.  There are other paths that already call it, but this
allows for a non-interface socket (like AF_LOCAL which ifconfig now
uses) to use a broader class of interface ioctls.

Approved by: bz (mentor), rwatson

15 years agoFlatten vendor/tcpdump and remove keyword expansion.
rpaulo [Fri, 20 Mar 2009 13:27:51 +0000 (13:27 +0000)]
Flatten vendor/tcpdump and remove keyword expansion.

15 years agoFix brainos introduced during mechanical KTR change.
bms [Fri, 20 Mar 2009 13:13:50 +0000 (13:13 +0000)]
Fix brainos introduced during mechanical KTR change.

Pointy hat to: bms

15 years agoOops, fix the previous change.
nyan [Fri, 20 Mar 2009 13:03:33 +0000 (13:03 +0000)]
Oops, fix the previous change.

15 years agoMFi386: r189749
nyan [Fri, 20 Mar 2009 12:26:42 +0000 (12:26 +0000)]
MFi386: r189749

  Teach the BIOS CD driver to use bounce buffers when the destination
  address is > 1 MB.

15 years agoDo not underflow the buffer and then report the problem. Check for the
kib [Fri, 20 Mar 2009 11:08:57 +0000 (11:08 +0000)]
Do not underflow the buffer and then report the problem. Check for the
condition before the buffer write.
Also, since buflen is unsigned, previous check was ignored.

Reviewed by: marcus
Tested by: pho

15 years agoRemove unneeded braces to reduce used vertical screen space.
kib [Fri, 20 Mar 2009 11:03:55 +0000 (11:03 +0000)]
Remove unneeded braces to reduce used vertical screen space.
The location was missed in r190140.

15 years agoDo not forget to adjust buflen for the first resolution of the path
kib [Fri, 20 Mar 2009 11:00:39 +0000 (11:00 +0000)]
Do not forget to adjust buflen for the first resolution of the path
from namecache.
While there, compare pointers for equiality.

Reviewed by: marcus
Tested by: pho

15 years agoThe nc_nlen member of the struct namecache contains the length of the cached
kib [Fri, 20 Mar 2009 10:59:06 +0000 (10:59 +0000)]
The nc_nlen member of the struct namecache contains the length of the cached
name, not the length + 1.

PR: 132620, 132542
Reported by: bf2006a yahoo com
Tested by: bf2006a, pho
Reviewed by: marcus

15 years agoWhen ktracing namei operations, log a result of the __getcwd().
kib [Fri, 20 Mar 2009 10:47:16 +0000 (10:47 +0000)]
When ktracing namei operations, log a result of the __getcwd().

MFC after: 1 week

15 years agoRemove unneeded braces to reduce used vertical screen space.
kib [Fri, 20 Mar 2009 10:04:00 +0000 (10:04 +0000)]
Remove unneeded braces to reduce used vertical screen space.

15 years agouscanner(4) has been removed, delete it from the hardware notes to
brueffer [Fri, 20 Mar 2009 09:25:21 +0000 (09:25 +0000)]
uscanner(4) has been removed, delete it from the hardware notes to
fix the build.

15 years agoSpelling fix in a comment
vanhu [Fri, 20 Mar 2009 09:12:01 +0000 (09:12 +0000)]
Spelling fix in a comment

Approved by: gnn(mentor)

15 years agoMerge the missing changes from i386.
nyan [Fri, 20 Mar 2009 05:33:58 +0000 (05:33 +0000)]
Merge the missing changes from i386.
Teach the loader about the FAT partitions.

15 years agoMFi386: the part of r179825 to reduce diffs against i386.
nyan [Fri, 20 Mar 2009 05:21:29 +0000 (05:21 +0000)]
MFi386: the part of r179825 to reduce diffs against i386.

15 years agoOnly issue the wakeup and store the counter if vblank is enabled on
rnoland [Fri, 20 Mar 2009 04:53:12 +0000 (04:53 +0000)]
Only issue the wakeup and store the counter if vblank is enabled on
the pipe.

MFC after: 3 days

15 years agoAdd a couple of radeon pci ids.
rnoland [Fri, 20 Mar 2009 04:49:48 +0000 (04:49 +0000)]
Add a couple of radeon pci ids.

MFC after: 3 days

15 years agoAdjust the flags to bus_dmamem around here too.
rnoland [Fri, 20 Mar 2009 04:48:27 +0000 (04:48 +0000)]
Adjust the flags to bus_dmamem around here too.

MFC after: 3 days

15 years ago- Set MIIF_NOLOOP and don't add IFM_LOOP as loopback apparently isn't
marius [Thu, 19 Mar 2009 22:34:55 +0000 (22:34 +0000)]
- Set MIIF_NOLOOP and don't add IFM_LOOP as loopback apparently isn't
  supported with these pseudo-PHYs. The MIIF_NOLOOP flag currently triggers
  nothing but hopefully will be respected by mii_phy_setmedia() later on.
- Don't add IFM_NONE as isolation isn't supported by these pseudo-PHYs.
- Use mii_phy_add_media() instead of mii_add_media() so the latter can
  be eventually retired.

15 years agoHook up the generic OFW pnpinfo string method.
marius [Thu, 19 Mar 2009 21:14:45 +0000 (21:14 +0000)]
Hook up the generic OFW pnpinfo string method.

15 years agoBring the implementation of the pnpinfo string function more in
marius [Thu, 19 Mar 2009 21:12:44 +0000 (21:12 +0000)]
Bring the implementation of the pnpinfo string function more in
line with the rest of this file.

15 years ago- As suggested by OpenSolaris use up-burst-sizes for determining the
marius [Thu, 19 Mar 2009 21:02:36 +0000 (21:02 +0000)]
- As suggested by OpenSolaris use up-burst-sizes for determining the
  supported burst sizes.
- Add support for 64-bit burst sizes (required for SBus GEM).
- Failing to register as interrupt controller during attach shouldn't
  be fatal so just inform about this instead of panicing.
- Take advantage of KOBJMETHOD_END.
- Remove some redundant variables.
- Add missing const.

15 years agoAdd device found in B100.
marius [Thu, 19 Mar 2009 20:57:59 +0000 (20:57 +0000)]
Add device found in B100.

15 years agoSort include.
marius [Thu, 19 Mar 2009 20:54:15 +0000 (20:54 +0000)]
Sort include.

15 years ago- Ensure we find no unexpected partner.
marius [Thu, 19 Mar 2009 20:52:46 +0000 (20:52 +0000)]
- Ensure we find no unexpected partner.
- Failing to register as interrupt controller during attach shouldn't
  be fatal so just inform about this instead of panicing.
- Disable rerun of the streaming cache as workaround for a silicon bug
  of certain Psycho versions.
- Remove the comment regarding lack of newbus'ified bus_dma(9) as being
  able to associate a DMA tag with a device would allow to implement
  CDMA flushing/syncing in bus_dmamap_sync(9) but that would totally
  kill performance. Given that for devices not behind a PCI-PCI bridge
  the host-to-PCI bridges also only do CDMA flushing/syncing based on
  interrupts there's no additional disadvantage for polling(4) callbacks
  in the case schizo(4) has to do the CDMA flushing/syncing but rather a
  general problem.
- Don't panic if the power failure, power management or over-temperature
  interrupts doesn't exist as these aren't mandatory and not available
  with all controllers (not even Psychos). [1]
- Take advantage of KOBJMETHOD_END.
- Remove some redundant variables.
- Add missing const.

PR: 131371 [1]

15 years ago- Take advantage of KOBJMETHOD_END.
marius [Thu, 19 Mar 2009 20:48:47 +0000 (20:48 +0000)]
- Take advantage of KOBJMETHOD_END.
- Hook up the streaming buffer (not used by iommu(4) by default, yet)
  if available and usable. [1]
- Move the message regarding belated registration as interrupt control
  under bootverbose as this isn't something the user should worry about.

Tested by: Michael Moll [1]

15 years ago- There's no need to wrap kdb_active and kdb_trap() in #ifdef KDB as
marius [Thu, 19 Mar 2009 20:46:51 +0000 (20:46 +0000)]
- There's no need to wrap kdb_active and kdb_trap() in #ifdef KDB as
  they're always available.
- Remove unused variable. [1]
- Add a missing const.
- Sort includes.

Submitted by: Christoph Mallon [1]

15 years ago- Remove the delay in cpu_mp_shutdown() which is no longer necessary since
marius [Thu, 19 Mar 2009 20:43:01 +0000 (20:43 +0000)]
- Remove the delay in cpu_mp_shutdown() which is no longer necessary since
  we have stopped using SUNW,stop-self with r186395.
- There's no need to wrap kdb_active in #ifdef KDB as it's always available.

15 years agoThere's no need to wrap kdb_enter() in #ifdef KDB as it's always available.
marius [Thu, 19 Mar 2009 20:40:49 +0000 (20:40 +0000)]
There's no need to wrap kdb_enter() in #ifdef KDB as it's always available.

15 years agoTake advantage of KOBJMETHOD_END.
marius [Thu, 19 Mar 2009 20:38:45 +0000 (20:38 +0000)]
Take advantage of KOBJMETHOD_END.

15 years agoRemove empty dirs.
thompsa [Thu, 19 Mar 2009 20:38:01 +0000 (20:38 +0000)]
Remove empty dirs.

15 years agoTake advantage of KOBJMETHOD_END.
marius [Thu, 19 Mar 2009 20:36:46 +0000 (20:36 +0000)]
Take advantage of KOBJMETHOD_END.

15 years agoRemove the uscanner(4) driver, this follows the removal of the kernel scanner
thompsa [Thu, 19 Mar 2009 20:33:26 +0000 (20:33 +0000)]
Remove the uscanner(4) driver, this follows the removal of the kernel scanner
driver in Linux 2.6. uscanner was just a simple wrapper around a fifo and
contained no logic, the default interface is now libusb (supported by sane).

Reviewed by: HPS

15 years ago- Sort device methods.
marius [Thu, 19 Mar 2009 20:31:55 +0000 (20:31 +0000)]
- Sort device methods.
- Take advantage of KOBJMETHOD_END.

15 years ago- Failing to register as interrupt controller during attach shouldn't
marius [Thu, 19 Mar 2009 20:29:23 +0000 (20:29 +0000)]
- Failing to register as interrupt controller during attach shouldn't
  be fatal so just inform about this instead of panicing.
- Sort device methods.
- Take advantage of KOBJMETHOD_END.
- Remove some redundant variables.

15 years ago- Sprinkle const.
marius [Thu, 19 Mar 2009 20:24:30 +0000 (20:24 +0000)]
- Sprinkle const.
- Remove incorrect __unused.

15 years agopurge hal abi support; now that the hal is merged w/ the driver
sam [Thu, 19 Mar 2009 19:29:10 +0000 (19:29 +0000)]
purge hal abi support; now that the hal is merged w/ the driver
we cannot be out of sync

MFC after: 1 week

15 years agoRemove leftover comment because we now use a flag to check for associd.
rpaulo [Thu, 19 Mar 2009 18:45:37 +0000 (18:45 +0000)]
Remove leftover comment because we now use a flag to check for associd.

Discussed with: sam

15 years agoFix typo in comment.
rpaulo [Thu, 19 Mar 2009 18:34:58 +0000 (18:34 +0000)]
Fix typo in comment.

15 years ago- Add Sun Type 7 keyboard
garga [Thu, 19 Mar 2009 17:16:33 +0000 (17:16 +0000)]
- Add Sun Type 7 keyboard
- Rename Type 6 entry (following NetBSD)
- Add Sun Type 7 Keyboard USB Hub

PR: usb/132811
Reviewed by: thompsa
Approved by: thompsa

15 years agoFixed style for some comments
vanhu [Thu, 19 Mar 2009 15:50:45 +0000 (15:50 +0000)]
Fixed style for some comments

Approved by: gnn(mentor)

15 years agoFixed style for some comments
vanhu [Thu, 19 Mar 2009 15:44:13 +0000 (15:44 +0000)]
Fixed style for some comments

Approved by: gnn(mentor)

15 years agoMake GEOM provider names starting with "/dev/" acceptable as well as their
ivoras [Thu, 19 Mar 2009 14:23:17 +0000 (14:23 +0000)]
Make GEOM provider names starting with "/dev/" acceptable as well as their
"raw" names. While there, change the formatting of extended MSDOS partitions
so that the dot (".") is not used to separate two numbers (which kind of
looks like the whole is a decimal number). Use "+" instead, which also
hints that the second part of the name is the offset from the start of
the partition in the first part of the name. Also change the offset from
decimal to hexadecimal notation, simply for aesthetic reasons and future
compatibility.

GEOM_PART is the default in 8-CURRENT but not yet in 7-STABLE so this
changeset can be MFC-ed without causing major problems from the second
part.

Reviewed by: marcel
Approved by: gnn (mentor)
MFC after: 2 weeks

15 years agoCleanup: Nuke debug.mrtdebug, and replace it with KTR.
bms [Thu, 19 Mar 2009 14:14:21 +0000 (14:14 +0000)]
Cleanup: Nuke debug.mrtdebug, and replace it with KTR.

15 years agoFix an mbuf leak in the error path.
dfr [Thu, 19 Mar 2009 14:13:18 +0000 (14:13 +0000)]
Fix an mbuf leak in the error path.

Submitted by: Rick Macklem <rick at snowhite dot cis dot uoguelph dot ca>

15 years agoReduce diffs against i386.
nyan [Thu, 19 Mar 2009 13:53:42 +0000 (13:53 +0000)]
Reduce diffs against i386.

15 years agoAdd hostid to the ranks.
des [Thu, 19 Mar 2009 12:52:19 +0000 (12:52 +0000)]
Add hostid to the ranks.

MFC after: 2 weeks

15 years agoRevert r188010. When dhclient is backgrounded, services such as ntpdate,
des [Thu, 19 Mar 2009 12:48:00 +0000 (12:48 +0000)]
Revert r188010.  When dhclient is backgrounded, services such as ntpdate,
sendmail / postfix etc. may fail to start because DNS is unavailable and /
or the server is unreachable.  In the worst case, the machine may become
unusable.

Debugging this issue was far more difficult than it should have been, due
to earlier changes to the rc framework to hide almost all useful information
about the boot process.

Approved by: silence

15 years agoRename two functions to make their purpose clearer. Add tons of comments.
des [Thu, 19 Mar 2009 12:39:13 +0000 (12:39 +0000)]
Rename two functions to make their purpose clearer.  Add tons of comments.
Generated code is identical after stripping .comment section.

Suggested by: Andriy Gapon <avg@icyb.net.ua>
MFC after: 2 weeks

15 years agoUse the common PC98_MID_* defines instead of a magic number.
nyan [Thu, 19 Mar 2009 12:33:37 +0000 (12:33 +0000)]
Use the common PC98_MID_* defines instead of a magic number.

15 years agoUse the common PC98_SID_ACTIVE define instead of a local define.
nyan [Thu, 19 Mar 2009 12:31:59 +0000 (12:31 +0000)]
Use the common PC98_SID_ACTIVE define instead of a local define.

15 years agoMdoc style, spelling, grammar and wording fixes. This manpage needs more work.
brueffer [Thu, 19 Mar 2009 10:42:07 +0000 (10:42 +0000)]
Mdoc style, spelling, grammar and wording fixes. This manpage needs more work.

15 years agoForcibly unlock the malloc() locks in the child process after fork(),
kib [Thu, 19 Mar 2009 10:32:25 +0000 (10:32 +0000)]
Forcibly unlock the malloc() locks in the child process after fork(),
by temporary pretending that the process is still multithreaded.
Current malloc lock primitives do nothing for singlethreaded process.

Reviewed by: davidxu, deischen

15 years agoFix size_t merge-o.
bms [Thu, 19 Mar 2009 10:23:26 +0000 (10:23 +0000)]
Fix size_t merge-o.

15 years agoAdd some debugging so I can see when syscalls are being restarted
rnoland [Thu, 19 Mar 2009 08:36:08 +0000 (08:36 +0000)]
Add some debugging so I can see when syscalls are being restarted
consistantly.  After a lengthy irc discussion it seems like we
shouldn't need to worry about them, but it's nice to know about.

MFC after: 3 days

15 years agoRework vblank handling to try to resolve some reports of "slow" windows
rnoland [Thu, 19 Mar 2009 08:34:04 +0000 (08:34 +0000)]
Rework vblank handling to try to resolve some reports of "slow" windows
after vt switch or suspend.  I can't really test this on Intel right now
but I think I've heard reports of it on radeon as well.  I can't break
it on the radeon here.

MFC after: 3 days

15 years agoSync up the rest of the code that we use with what Intel is shipping
rnoland [Thu, 19 Mar 2009 08:28:36 +0000 (08:28 +0000)]
Sync up the rest of the code that we use with what Intel is shipping

-Some irq/vblank related changes that hopefully will help.
-A little more cleanup while I'm here.

MFC after: 3 days

15 years agoPull in some suspend / resume changes from Intel's code
rnoland [Thu, 19 Mar 2009 08:22:56 +0000 (08:22 +0000)]
Pull in some suspend / resume changes from Intel's code

Tested by: mav@
MFC after: 3 days

15 years agoIntroduce a number of changes to the MROUTING code.
bms [Thu, 19 Mar 2009 01:43:03 +0000 (01:43 +0000)]
Introduce a number of changes to the MROUTING code.
This is purely a forwarding plane cleanup; no control plane
code is involved.

Summary:
 * Split IPv4 and IPv6 MROUTING support. The static compile-time
   kernel option remains the same, however, the modules may now
   be built for IPv4 and IPv6 separately as ip_mroute_mod and
   ip6_mroute_mod.
 * Clean up the IPv4 multicast forwarding code to use BSD queue
   and hash table constructs. Don't build our own timer abstractions
   when ratecheck() and timevalclear() etc will do.
 * Expose the multicast forwarding cache (MFC) and virtual interface
   table (VIF) as sysctls, to reduce netstat's dependence on libkvm
   for this information for running kernels.
   * bandwidth meters however still require libkvm.
 * Make the MFC hash table size a boot/load-time tunable ULONG,
   net.inet.ip.mfchashsize (defaults to 256).
 * Remove unused members from struct vif and struct mfc.
 * Kill RSVP support, as no current RSVP implementation uses it.
   These stubs could be moved to raw_ip.c.
 * Don't share locks or initialization between IPv4 and IPv6.
 * Don't use a static struct route_in6 in ip6_mroute.c.
   The v6 code is still using a cached struct route_in6, this is
   moved to mif6 for the time being.
 * More cleanup remains to be merged from ip_mroute.c to ip6_mroute.c.

v4 path tested using ports/net/mcast-tools.
v6 changes are mostly mechanical locking and *have not* been tested.
As these changes partially break some kernel ABIs, they will not
be MFCed. There is a lot more work to be done here.

Reviewed by: Pavlin Radoslavov

15 years agoComment IGMP_PIM as being very historic, as in, don't use.
bms [Thu, 19 Mar 2009 01:15:26 +0000 (01:15 +0000)]
Comment IGMP_PIM as being very historic, as in, don't use.

15 years agoAdd usr.bin/ar to the list of cross tools. Before, when we had gnu
imp [Thu, 19 Mar 2009 00:44:22 +0000 (00:44 +0000)]
Add usr.bin/ar to the list of cross tools.  Before, when we had gnu
ar, it was built in the gnu/usr.bin/binutils tree.  Now it isn't.

Submitted by: John Hein

15 years agoAdd missing const.
marius [Wed, 18 Mar 2009 23:52:20 +0000 (23:52 +0000)]
Add missing const.

15 years ago1. Update for new -F option from r189992.
dougb [Wed, 18 Mar 2009 21:55:08 +0000 (21:55 +0000)]
1. Update for new -F option from r189992.
2. Sort the command line options to match how they are displayed
in usage()
3. Change references to cvs to the more generic "version control system"
and remove the .Xr for cvs
4. Consistently use ".Op Fl" to refer to command line options in the text.
5. Only use the apostrophe to indicate possession.
6. Add FREEBSD_ID (-F) to the list of variables in the example rc,
and change the DIFF_OPTIONS example to -Bb since -F now covers it.

15 years agoAdd a new -F option to automatically install files that differ
dougb [Wed, 18 Mar 2009 21:51:11 +0000 (21:51 +0000)]
Add a new -F option to automatically install files that differ
only by version control Id strings

15 years agoUse plural in a comment. No functional change.
rpaulo [Wed, 18 Mar 2009 21:33:28 +0000 (21:33 +0000)]
Use plural in a comment. No functional change.

15 years agoReference exca.
imp [Wed, 18 Mar 2009 20:03:33 +0000 (20:03 +0000)]
Reference exca.

15 years agorate limit printfs for invalid tdma ie contents; probably want this to
sam [Wed, 18 Mar 2009 19:38:39 +0000 (19:38 +0000)]
rate limit printfs for invalid tdma ie contents; probably want this to
be less than 1/sec