]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoUnlock after ISR.
imp [Thu, 12 Jun 2003 06:06:14 +0000 (06:06 +0000)]
Unlock after ISR.

Noticed by: njr
Pointy hat to: the impable one.

21 years agoRemove label command. It has been deprecated since December 1998, and
grog [Thu, 12 Jun 2003 05:55:59 +0000 (05:55 +0000)]
Remove label command.  It has been deprecated since December 1998, and
recent changes broke it altogether.

Prompted by:  phk

21 years agoRemove "label" keyword.
grog [Thu, 12 Jun 2003 05:54:53 +0000 (05:54 +0000)]
Remove "label" keyword.

21 years agoFinish the vm object locking in sendfile(2). More generally,
alc [Thu, 12 Jun 2003 05:52:09 +0000 (05:52 +0000)]
Finish the vm object locking in sendfile(2).  More generally,
the vm locking in sendfile(2) is complete.

21 years agoRemove "raw" and "label" keywords.
grog [Thu, 12 Jun 2003 05:45:45 +0000 (05:45 +0000)]
Remove "raw" and "label" keywords.

21 years agos/BURN_THE_BOATS/BURN_BRIDGES/g to adopt to new world order
imp [Thu, 12 Jun 2003 05:44:30 +0000 (05:44 +0000)]
s/BURN_THE_BOATS/BURN_BRIDGES/g to adopt to new world order

21 years agovinum_bounds_check: Don't check the label sector if the architecture
grog [Thu, 12 Jun 2003 05:34:42 +0000 (05:34 +0000)]
vinum_bounds_check: Don't check the label sector if the architecture
doesn't have one.  The test was bogus on these architectures, but
recent changes broke it altogether.

Prompted by:  phk

This should fix the recent SPARC 64 build problems.

21 years agoRemove VINUM_LABEL ioctl. It has been deprecated since December 1998,
grog [Thu, 12 Jun 2003 05:32:31 +0000 (05:32 +0000)]
Remove VINUM_LABEL ioctl.  It has been deprecated since December 1998,
and recent changes broke it altogether.

Prompted by:  phk

21 years agoRemove write_volume_label, the implementation of VINUM_LABEL ioctl.
grog [Thu, 12 Jun 2003 05:32:00 +0000 (05:32 +0000)]
Remove write_volume_label, the implementation of VINUM_LABEL ioctl.
It has been deprecated since December 1998, and recent changes broke
it altogether.

Prompted by:  phk

21 years agoEnable bus mastering in the attach routine. This appears to fix the
imp [Thu, 12 Jun 2003 05:29:15 +0000 (05:29 +0000)]
Enable bus mastering in the attach routine.  This appears to fix the
USB 2.0 cardbus cards that have been floating around.

Submitted by: Craig Boston

21 years agoRemove kw_raw. I've forgotten what it was intended for, and it was
grog [Thu, 12 Jun 2003 05:28:18 +0000 (05:28 +0000)]
Remove kw_raw.  I've forgotten what it was intended for, and it was
probably obsoleted by some changes a couple of months ago.

21 years agoOLDCARD is OBSOLETE_IN_6. Tag it as such.
imp [Thu, 12 Jun 2003 04:46:43 +0000 (04:46 +0000)]
OLDCARD is OBSOLETE_IN_6.  Tag it as such.

21 years agoIf BURN_BRIDGES or _FreeBSD_version >= 6.0 and OBSOLETE_IN_6 is
imp [Thu, 12 Jun 2003 04:44:15 +0000 (04:44 +0000)]
If BURN_BRIDGES or _FreeBSD_version >= 6.0 and OBSOLETE_IN_6 is
defined, then #error out.  This is protected inside of #ifdef _KERNEL.
This allows one to tag code in the tree that will be deleted in 6.x
with the 'OBSOLETE_IN_6 #define at the top of the file.  This makes
for easy grepping, plus a mechanism that automatically fails the
compilation of those files that are so tagged after we do the cutover.

21 years agoNew global option: BURN_BRIDGES
imp [Thu, 12 Jun 2003 04:39:32 +0000 (04:39 +0000)]
New global option: BURN_BRIDGES

Compile out code that will disappear in 6.0, per Peter Wemm's bridge
burning proposal.

21 years agopc98 doesn't need COMPAT_OLDISA for any devices in the kernel.
imp [Thu, 12 Jun 2003 04:19:10 +0000 (04:19 +0000)]
pc98 doesn't need COMPAT_OLDISA for any devices in the kernel.
However, GENERIC has wdc commented out, and COMPAT_OLDISA is required
for that.  Comment out COMPAT_OLDISA and sdd a comment to this effect
near wdc.

Reviewed by: nyan@

21 years agoMinor improvement to some debugging code that is probably used by no one
gad [Thu, 12 Jun 2003 03:49:40 +0000 (03:49 +0000)]
Minor improvement to some debugging code that is probably used by no one
but me (it's usually #ifdef-ed out).

MFC after: 1 week

21 years agoRemove duplicate lines for 'lpr' (copied from lpr/Makefile).
gad [Thu, 12 Jun 2003 03:37:55 +0000 (03:37 +0000)]
Remove duplicate lines for 'lpr' (copied from lpr/Makefile).
Add myself as low-key maintainer for newsyslog.

21 years agoMake cbb interrupts MPSAFE:
imp [Thu, 12 Jun 2003 03:37:28 +0000 (03:37 +0000)]
Make cbb interrupts MPSAFE:
o Register ISR INTR_MPSAFE.
o Loop on KTHREAD_DONE == 0 in the thread.
o Safe the INTR_MPSAFE flag for client drivers (don't know if there are any
  CardBus/PCI drivers that are INTR_MPSAFE)
o Read status after acquiring mtx_lock(Giant) rather than before so that we
  catch state changes that happen while Giant is being acquired.
o Turn off the CD bit when we see a CD interrupt, and turn it back on after
  we've attached/detached the card.
o On suspend, actually set the CBB_SOCKET_MASK to zero rather than oring
  in '0' to turn it off on suspend.
o If the ISR that's registerd is MPSAFE, don't acquire Giant around call to
  client ISR.
o Fix comments to reflect these changes.

21 years agoRemove MAINTAINER= lines. That info is now in /usr/src/MAINTAINERS
gad [Thu, 12 Jun 2003 03:32:21 +0000 (03:32 +0000)]
Remove MAINTAINER= lines.  That info is now in /usr/src/MAINTAINERS

21 years agoWhen sanity-checking a variable, it's good to check the correct variable...
gad [Thu, 12 Jun 2003 03:30:10 +0000 (03:30 +0000)]
When sanity-checking a variable, it's good to check the correct variable...

MFC after: 1 week

21 years agoDrop maintainership of whois(1). If someone needs a review they can
mike [Thu, 12 Jun 2003 02:46:47 +0000 (02:46 +0000)]
Drop maintainership of whois(1).  If someone needs a review they can
find me in the whois.c revision history.

21 years agoReorder P_* flags.
davidxu [Thu, 12 Jun 2003 01:19:42 +0000 (01:19 +0000)]
Reorder P_* flags.

21 years agoMake sure pcpu->pc_pcb is pointing to a 16-byte aligned address. The
marcel [Thu, 12 Jun 2003 00:15:18 +0000 (00:15 +0000)]
Make sure pcpu->pc_pcb is pointing to a 16-byte aligned address. The
PCB contains FP registers, whose alignment must be 16 bytes at least.
Since the PCB pointed to by pc_pcb is immediately after the PCPU
itself, round-up the size of thge PCPU to a multiple of 16 bytes. The
PCPU is page aligned.

This fixes a misalignment trap caused by stopping a CPU in a SMP
kernel, such as been done when entering the debugger.

Reported by: Alan Robinson <alan.robinson@fujitsu-siemens.com>

21 years agoUse __FBSDID().
obrien [Wed, 11 Jun 2003 23:50:51 +0000 (23:50 +0000)]
Use __FBSDID().

21 years agoFix LINT for now.
jake [Wed, 11 Jun 2003 23:42:41 +0000 (23:42 +0000)]
Fix LINT for now.

21 years agostyle clean.
obrien [Wed, 11 Jun 2003 23:24:31 +0000 (23:24 +0000)]
style clean.

21 years agoFixed some style bugs (disorder and long lines).
bde [Wed, 11 Jun 2003 23:17:01 +0000 (23:17 +0000)]
Fixed some style bugs (disorder and long lines).

21 years agoRemove uneeded cast.
obrien [Wed, 11 Jun 2003 21:37:19 +0000 (21:37 +0000)]
Remove uneeded cast.

21 years agoThis appears to be WARNS=3 safe.
obrien [Wed, 11 Jun 2003 21:36:06 +0000 (21:36 +0000)]
This appears to be WARNS=3 safe.

21 years agoBest we can do is WARNS=1 due to lex.
obrien [Wed, 11 Jun 2003 21:27:37 +0000 (21:27 +0000)]
Best we can do is WARNS=1 due to lex.

21 years agoDo not refer to the non-existant BDECFLAGS.
obrien [Wed, 11 Jun 2003 21:25:15 +0000 (21:25 +0000)]
Do not refer to the non-existant BDECFLAGS.

21 years agoLock the vm object when removing a page.
alc [Wed, 11 Jun 2003 21:23:04 +0000 (21:23 +0000)]
Lock the vm object when removing a page.

21 years agoCatch up with the English version:
hrs [Wed, 11 Jun 2003 21:08:52 +0000 (21:08 +0000)]
Catch up with the English version:

1.157 -> 1.158 hardware/common/dev.sgml
1.573 -> 1.575 relnotes/common/new.sgml

21 years agoThere is no need for this makefile to reference BDECFLAGS, particularly
gad [Wed, 11 Jun 2003 20:32:52 +0000 (20:32 +0000)]
There is no need for this makefile to reference BDECFLAGS, particularly
since that is no longer defined in the default system install.

MFC after: 1 week

21 years agoRemove the psycho and sbus iommu function stubs, and put the pointer
tmm [Wed, 11 Jun 2003 20:30:52 +0000 (20:30 +0000)]
Remove the psycho and sbus iommu function stubs, and put the pointer
to the iommu_state structure directly into dt_cookie. The stubs have
not been needed for a long time now.

21 years agoAutosize the property buffer instead of limiting it to 8192, and
tmm [Wed, 11 Jun 2003 18:44:26 +0000 (18:44 +0000)]
Autosize the property buffer instead of limiting it to 8192, and
exiting if a property happens to be larger.

21 years agoDeallocate major 177; the openfirm device does not use a fixed major
tmm [Wed, 11 Jun 2003 18:34:50 +0000 (18:34 +0000)]
Deallocate major 177; the openfirm device does not use a fixed major
any more.

21 years ago- Add an OFIOCGETPROPLEN ioctl() to get the length of a property.
tmm [Wed, 11 Jun 2003 18:33:03 +0000 (18:33 +0000)]
- Add an OFIOCGETPROPLEN ioctl() to get the length of a property.
- Do not use a fixed major.
- Minor cleanups.

21 years agoARtem ONAIR card
imp [Wed, 11 Jun 2003 16:56:02 +0000 (16:56 +0000)]
ARtem ONAIR card

Submitted by: Ben Gras

21 years agoregen for 1.52
imp [Wed, 11 Jun 2003 16:53:47 +0000 (16:53 +0000)]
regen for 1.52

21 years agoAdd ARtem ONAIR wi card.
imp [Wed, 11 Jun 2003 16:53:26 +0000 (16:53 +0000)]
Add ARtem ONAIR wi card.

Submitted by: Ben Gras
Forgotten by: imp

21 years agoMinor tweaks that are effectively all style tweaks.
imp [Wed, 11 Jun 2003 16:51:27 +0000 (16:51 +0000)]
Minor tweaks that are effectively all style tweaks.

21 years agoCall wi_free() in all the relevant error cases.
imp [Wed, 11 Jun 2003 16:41:07 +0000 (16:41 +0000)]
Call wi_free() in all the relevant error cases.

21 years agoCall wi_free on the failure cases of pccard.
imp [Wed, 11 Jun 2003 16:39:20 +0000 (16:39 +0000)]
Call wi_free on the failure cases of pccard.

Tested by: scottl

21 years agoLock the vm object when removing a page.
alc [Wed, 11 Jun 2003 16:37:33 +0000 (16:37 +0000)]
Lock the vm object when removing a page.

21 years agoadd my birthday
erwin [Wed, 11 Jun 2003 09:04:53 +0000 (09:04 +0000)]
add my birthday

21 years agoWhitespace cleanup.
des [Wed, 11 Jun 2003 07:35:56 +0000 (07:35 +0000)]
Whitespace cleanup.

21 years agoUse __FBSDID().
obrien [Wed, 11 Jun 2003 07:22:30 +0000 (07:22 +0000)]
Use __FBSDID().

21 years agoUse __FBSDID().
obrien [Wed, 11 Jun 2003 07:11:35 +0000 (07:11 +0000)]
Use __FBSDID().

21 years agoUse __FBSDID().
obrien [Wed, 11 Jun 2003 07:06:31 +0000 (07:06 +0000)]
Use __FBSDID().

21 years agoUse __FBSDID().
obrien [Wed, 11 Jun 2003 07:00:30 +0000 (07:00 +0000)]
Use __FBSDID().

21 years agoUse __FBSDID().
obrien [Wed, 11 Jun 2003 06:49:16 +0000 (06:49 +0000)]
Use __FBSDID().

Approved by: phk

21 years agoAdd vm object locking.
alc [Wed, 11 Jun 2003 06:43:48 +0000 (06:43 +0000)]
Add vm object locking.

21 years agoAdd "-n" argument, which causes mdconfig to simply print the unit
rwatson [Wed, 11 Jun 2003 06:38:24 +0000 (06:38 +0000)]
Add "-n" argument, which causes mdconfig to simply print the unit
number X, rather than mdX, making it easier to script tests that
use md devices but don't want to make assumptions about any existing
md use (such as in diskless environments).

21 years agoFix date, appearantly everybody else got done with May before I did.
phk [Wed, 11 Jun 2003 06:37:55 +0000 (06:37 +0000)]
Fix date, appearantly everybody else got done with May before I did.

21 years agoUse __FBSDID().
obrien [Wed, 11 Jun 2003 06:34:30 +0000 (06:34 +0000)]
Use __FBSDID().

21 years agoUse __FBSDID().
obrien [Wed, 11 Jun 2003 05:57:50 +0000 (05:57 +0000)]
Use __FBSDID().

21 years agoUse __FBSDID().
obrien [Wed, 11 Jun 2003 05:37:42 +0000 (05:37 +0000)]
Use __FBSDID().

21 years agoGC unused cpu_wait() function
peter [Wed, 11 Jun 2003 05:20:33 +0000 (05:20 +0000)]
GC unused cpu_wait() function

21 years agoDon't overflow when calculating vm_kmem_size. This fixes kmem_map
ps [Wed, 11 Jun 2003 05:18:59 +0000 (05:18 +0000)]
Don't overflow when calculating vm_kmem_size.  This fixes kmem_map
too small panics on PAE machines which have odd > 4GB sizes (4.5 gig
would render a 20MB of KVA for kmem_map instead of 200MB).

Submitted by: John Cagle <john.cagle@hp.com>, jeff
Reviewed by: jeff, peter, scottl, lots of USENIX folks

21 years agoRemove all files. They're now in tools/debugscripts.
grog [Wed, 11 Jun 2003 04:54:58 +0000 (04:54 +0000)]
Remove all files.  They're now in tools/debugscripts.

21 years agoAdd the comment I meant to add about not passing in PCATCH to the
rwatson [Wed, 11 Jun 2003 03:32:42 +0000 (03:32 +0000)]
Add the comment I meant to add about not passing in PCATCH to the
tsleep().  Note the XXX.

21 years agoFix error in my last commit. Correctly maintain p_maxthrwaits and unlock
davidxu [Wed, 11 Jun 2003 01:08:33 +0000 (01:08 +0000)]
Fix error in my last commit. Correctly maintain p_maxthrwaits and unlock
sched_lock.

21 years agoUse __FBSDID().
obrien [Wed, 11 Jun 2003 00:56:59 +0000 (00:56 +0000)]
Use __FBSDID().

21 years agoUse __FBSDID().
obrien [Wed, 11 Jun 2003 00:34:37 +0000 (00:34 +0000)]
Use __FBSDID().

21 years agoUse __FBSDID().
obrien [Wed, 11 Jun 2003 00:01:05 +0000 (00:01 +0000)]
Use __FBSDID().

21 years agoUse __FBSDID().
obrien [Tue, 10 Jun 2003 23:48:55 +0000 (23:48 +0000)]
Use __FBSDID().

21 years agoUse __FBSDID().
obrien [Tue, 10 Jun 2003 23:39:45 +0000 (23:39 +0000)]
Use __FBSDID().

21 years agoUse __FBSDID().
obrien [Tue, 10 Jun 2003 23:23:33 +0000 (23:23 +0000)]
Use __FBSDID().

21 years agoUse __FBSDID().
obrien [Tue, 10 Jun 2003 22:09:23 +0000 (22:09 +0000)]
Use __FBSDID().

21 years agoDon't start the beastie menu if the 'beastie_disable' variable is set to
scottl [Tue, 10 Jun 2003 22:04:09 +0000 (22:04 +0000)]
Don't start the beastie menu if the 'beastie_disable' variable is set to
'YES'.

If the user selects to escape to the loader prompt, set 'autoboot_delay'
to 'NO' so that the prompt timer doesn't run.

21 years agoUse __FBSDID().
obrien [Tue, 10 Jun 2003 21:44:29 +0000 (21:44 +0000)]
Use __FBSDID().

21 years agoUse __FBSDID().
obrien [Tue, 10 Jun 2003 21:29:12 +0000 (21:29 +0000)]
Use __FBSDID().

21 years agoUse C99 compatible ASM statements.
obrien [Tue, 10 Jun 2003 21:17:55 +0000 (21:17 +0000)]
Use C99 compatible ASM statements.
(untested, but existing state breaks
http://triangle.rtp.freebsd.org/~des/tinderbox-CURRENT-amd64-amd64.brief)

21 years agoAdd an EXAMPLES section.
trhodes [Tue, 10 Jun 2003 20:41:18 +0000 (20:41 +0000)]
Add an EXAMPLES section.

PR: 43899
Reviewed by: des, ru

21 years agoRevert 1.52. This should have been added to fetch.3.
trhodes [Tue, 10 Jun 2003 20:34:50 +0000 (20:34 +0000)]
Revert 1.52.  This should have been added to fetch.3.

Discussed with: des, ru

21 years ago - Finish vm object and page locking in vnode_pager_setsize().
alc [Tue, 10 Jun 2003 20:28:41 +0000 (20:28 +0000)]
 - Finish vm object and page locking in vnode_pager_setsize().
 - Make some small style changes to vnode_pager_setsize(); most notably,
   move two comments to a more logical place.

21 years ago- Add manpages for the gem and hme ethernet drivers. These were obtained
tmm [Tue, 10 Jun 2003 18:53:15 +0000 (18:53 +0000)]
- Add manpages for the gem and hme ethernet drivers. These were obtained
  from NetBSD, and changed slightly to account for FreeBSD specifics.
- Hook them up to the build.
- Add them to the list of miibus-using drivers in miibus(4).

21 years agoVarious cleanups of careless mistakes/omissions.
jmallett [Tue, 10 Jun 2003 18:36:16 +0000 (18:36 +0000)]
Various cleanups of careless mistakes/omissions.

PR: 53149
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>

21 years agoRead gettytab(5) soon enough to fill in all necessary values.
yar [Tue, 10 Jun 2003 18:30:41 +0000 (18:30 +0000)]
Read gettytab(5) soon enough to fill in all necessary values.
Re-read gettytab(5) only if needed.

This fixes bugs introduced as long ago as in getty/main.c rev.1.15.

PR: bin/18181
MFC after: 1 month

21 years agoLeft out the critical part of my "public domain" template, a notice saying
jmallett [Tue, 10 Jun 2003 18:24:40 +0000 (18:24 +0000)]
Left out the critical part of my "public domain" template, a notice saying
that this file is (these files are) in the public domain.

PR: 53149

21 years agoUse __FBSDID().
obrien [Tue, 10 Jun 2003 18:14:05 +0000 (18:14 +0000)]
Use __FBSDID().

21 years agoUse __FBSDID().
obrien [Tue, 10 Jun 2003 17:50:20 +0000 (17:50 +0000)]
Use __FBSDID().

21 years agoUse __FBSDID().
obrien [Tue, 10 Jun 2003 17:31:31 +0000 (17:31 +0000)]
Use __FBSDID().

21 years agoUse __FBSDID().
obrien [Tue, 10 Jun 2003 17:10:18 +0000 (17:10 +0000)]
Use __FBSDID().

21 years agoUse __FBSDID().
obrien [Tue, 10 Jun 2003 17:02:51 +0000 (17:02 +0000)]
Use __FBSDID().

21 years agoUse __FBSDID().
obrien [Tue, 10 Jun 2003 16:50:43 +0000 (16:50 +0000)]
Use __FBSDID().

21 years agoRevert part of the last commit. This fixes tail for pipes.
markm [Tue, 10 Jun 2003 16:49:14 +0000 (16:49 +0000)]
Revert part of the last commit. This fixes tail for pipes.

Submitted by: joerg

21 years agoSpot one more place where boolean variables were incremented
yar [Tue, 10 Jun 2003 16:34:03 +0000 (16:34 +0000)]
Spot one more place where boolean variables were incremented
instead of just being assigned a truth value.

21 years agoCoding style fix: Use "foo = 1" instead of "foo++" to assign
yar [Tue, 10 Jun 2003 15:38:35 +0000 (15:38 +0000)]
Coding style fix:  Use "foo = 1" instead of "foo++" to assign
the truth value to a boolean variable, especially when inside
a loop.  The variable can overflow otherwise, at least in theory.

21 years agoBreak sentences.
yar [Tue, 10 Jun 2003 15:03:35 +0000 (15:03 +0000)]
Break sentences.

MFC after: 1 week

21 years agoGeneral mdoc(7) markup fixes:
yar [Tue, 10 Jun 2003 14:46:43 +0000 (14:46 +0000)]
General mdoc(7) markup fixes:

- Use .Va, not .Em, to mark up variable-like identifiers
  (capability and database entry names.)
- Stop abusing .Tn (trademark) to emphasize general phrases.
- Spot unmarked capability references.
- Add a missing line break.

Discussed with: ru
MFC after: 1 week

21 years agoImprove the language and markup of the description of the pp and pl
yar [Tue, 10 Jun 2003 14:20:38 +0000 (14:20 +0000)]
Improve the language and markup of the description of the pp and pl
capabilities:

- Mark up capability identifiers.
- Don't squeeze much text into the capability table given the options
  will be described below in detail.
- Keep the capability table sorted.
- Use a consistent term for a PPP login program.

MFC after: 1 week

21 years agoFix typo in the previous revision.
simokawa [Tue, 10 Jun 2003 12:08:58 +0000 (12:08 +0000)]
Fix typo in the previous revision.

21 years agoClarify the telnet requirements slightly, and state an area-of-interest
markm [Tue, 10 Jun 2003 12:02:46 +0000 (12:02 +0000)]
Clarify the telnet requirements slightly, and state an area-of-interest
in the crypto source. This is not a lock.

21 years agoAdd cross-references to pci(4) and pciconf(8).
sheldonh [Tue, 10 Jun 2003 09:20:04 +0000 (09:20 +0000)]
Add cross-references to pci(4) and pciconf(8).

21 years agoAdd entry for removing deprecated locale names
ache [Tue, 10 Jun 2003 08:26:38 +0000 (08:26 +0000)]
Add entry for removing deprecated locale names

Approved by:    imp

21 years agoTidy up the manpage.
ru [Tue, 10 Jun 2003 05:29:14 +0000 (05:29 +0000)]
Tidy up the manpage.

Reviewed by: grog

21 years agoUse __FBSDID().
obrien [Tue, 10 Jun 2003 05:05:54 +0000 (05:05 +0000)]
Use __FBSDID().

21 years agoRemove NOSHLIBS, users can get by with NOPIC.
obrien [Tue, 10 Jun 2003 04:47:49 +0000 (04:47 +0000)]
Remove NOSHLIBS, users can get by with NOPIC.

Desired by: ru