]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
19 years agoMerge the following from the English version:
den [Mon, 20 Sep 2004 13:32:53 +0000 (13:32 +0000)]
Merge the following from the English version:

   1.255 -> 1.257 hardware/common/dev.sgml
   1.774 -> 1.778 relnotes/common/new.sgml

Obtained from: The FreeBSD Russian Documentation Project
MFC after: 2 days

19 years agoMerge the following from the English version:
hrs [Mon, 20 Sep 2004 11:59:34 +0000 (11:59 +0000)]
Merge the following from the English version:

1.4   -> 1.6   relnotes/alpha/article.sgml
1.2   -> 1.4   relnotes/amd64/article.sgml
1.6   -> 1.7   relnotes/i386/Makefile
1.5   -> 1.7   relnotes/i386/article.sgml
1.2   -> 1.4   relnotes/ia64/article.sgml
1.2   -> 1.4   relnotes/pc98/article.sgml
1.4   -> 1.6   relnotes/sparc64/article.sgml

19 years agoMerge the following from the English version:
hrs [Mon, 20 Sep 2004 11:19:33 +0000 (11:19 +0000)]
Merge the following from the English version:

1.2   -> 1.3   hardware/Makefile.inc
1.6   -> 1.7   hardware/alpha/Makefile
1.4   -> 1.6   hardware/alpha/article.sgml
1.1   -> 1.2   hardware/amd64/Makefile
1.1   -> 1.3   hardware/amd64/article.sgml
1.3   -> 1.5   hardware/amd64/proc-amd64.sgml
1.4   -> 1.5   hardware/common/artheader.sgml
1.210 -> 1.256 hardware/common/dev.sgml
1.5   -> 1.6   hardware/i386/Makefile
1.4   -> 1.6   hardware/i386/article.sgml
1.2   -> 1.3   hardware/ia64/Makefile
1.3   -> 1.5   hardware/ia64/article.sgml
1.1   -> 1.2   hardware/pc98/Makefile
1.1   -> 1.3   hardware/pc98/article.sgml
1.3   -> 1.4   hardware/sparc64/Makefile
1.3   -> 1.5   hardware/sparc64/article.sgml
1.11  -> 1.12  hardware/sparc64/proc-sparc64.sgml

19 years agoMFen 1.36
den [Mon, 20 Sep 2004 11:17:56 +0000 (11:17 +0000)]
MFen 1.36

19 years agoMFen 1.6
den [Mon, 20 Sep 2004 09:52:35 +0000 (09:52 +0000)]
MFen 1.6

19 years agoCTASSERT that MSZIE is a power of 2 (otherwise dtom() breaks)
brian [Mon, 20 Sep 2004 08:52:04 +0000 (08:52 +0000)]
CTASSERT that MSZIE is a power of 2 (otherwise dtom() breaks)
Ask uma_zcreate() to align mbufs to MSIZE bytes (otherwise dtom() breaks)

As it happens, uma_zalloc_arg() always returned mbufs aligned to MSIZE
anyway, but that was an implementation side-effect....

KASSERT -> CTASSERT suggested by: dd@
Approved by: silence on -net

19 years agoAdd support Nvidia nForce2(audio)
sanpei [Mon, 20 Sep 2004 07:19:49 +0000 (07:19 +0000)]
Add support Nvidia nForce2(audio)

PR: kern/71317
Submitted by: Mezz <mezz@freebsd.org>
MFC after: 1 week

19 years agotrim trailing white space..
jmg [Mon, 20 Sep 2004 06:33:37 +0000 (06:33 +0000)]
trim trailing white space..
call the re mutex by it's name..

MFC after: 3 days

19 years agodas@ has a ACPI bios that lists 0x3f0-0x3f1, 0x3f2-0x3f3, 0x3f4-0x3f5
imp [Mon, 20 Sep 2004 06:12:19 +0000 (06:12 +0000)]
das@ has a ACPI bios that lists 0x3f0-0x3f1, 0x3f2-0x3f3, 0x3f4-0x3f5
and 0x3f7.  fdc_isa_alloc_resource() didn't work right in this case
(it accessed FDOUT correctly due to an overflow of the first resource.
It accesed FDSTS and FDDATA incorrectly via the second resource (which
wound up accessing FDOUT and the tape register at 0x3f3) and badly for
the CTL register (at location 0x3f4).  This is a minimal fix that just
'eats' the first one if it covers two locations and has an offset of
0.  This confusion lead the floppy driver to think there'd been a disk
change, which uncovered a deadlock in the floppy/geom code which lead
to a panic.  These changes fix that by fixing the underlying resource
problem, but doesn't address the potential deadlock issue that might
still be there.

This is a minimal fix so it can more safely be merged into 5 w/o risk
for known working configurations (hence the use of the ugly goto,
which reduces case 8 to case 6 w/o affecting cases 1-7).  A more
invasive fix that will handle more ACPI resource list diversity is in
the pipeline that should kill these issues once and for all, while
staying within the resources that we allocate.

Tested/Reported by: das
Reviewed by: njl
MFC before: re->next_release_name(5.3-BETA5);

19 years agoAdd support nForce3 250 audio
sanpei [Mon, 20 Sep 2004 05:59:17 +0000 (05:59 +0000)]
Add support nForce3 250 audio

PR: kern/71726
Submitted by: FUJIMOTO Kou <fujimoto@j.dendai.ac.jp>
MFC after: 1 week

19 years agoRecord a problem we can't workaround for now regarding duplicate interrupts
njl [Mon, 20 Sep 2004 05:56:01 +0000 (05:56 +0000)]
Record a problem we can't workaround for now regarding duplicate interrupts
because of links left enabled while in APIC mode.  A large scale rework of
irq links is underway by jhb@ which should fix this eventually.

19 years agoadd '/* Panasonic products */' line(I removed it)
sanpei [Mon, 20 Sep 2004 04:56:13 +0000 (04:56 +0000)]
add '/* Panasonic products */' line(I removed it)

19 years agoFix compilation of vinum(4) when VINUMDEBUG is not defined.
marius [Mon, 20 Sep 2004 00:13:10 +0000 (00:13 +0000)]
Fix compilation of vinum(4) when VINUMDEBUG is not defined.

PR: 71341
Submitted by: Phil Budne <phil@tripadvisor.com>
MT5 candidate.

19 years agoCorrect value and description of the unused MK48TXX_WDAY_FT macro.
marius [Mon, 20 Sep 2004 00:09:32 +0000 (00:09 +0000)]
Correct value and description of the unused MK48TXX_WDAY_FT macro.

19 years agonetsend uses an arbitrary maximum send rate to reject bogus arguments.
rwatson [Sun, 19 Sep 2004 22:57:21 +0000 (22:57 +0000)]
netsend uses an arbitrary maximum send rate to reject bogus arguments.
It was previously 1mpps; raise to 10mpps.  While here, get the error
message right.

19 years agoCommit the new version of the adlink driver which can do non-cyclic
phk [Sun, 19 Sep 2004 21:52:15 +0000 (21:52 +0000)]
Commit the new version of the adlink driver which can do non-cyclic
capture.  Now we just need somebody to write a gnu-radio frontend :-)

19 years ago- Some of the upper bits of the time related (seconds, minutes, etc.)
marius [Sun, 19 Sep 2004 21:38:11 +0000 (21:38 +0000)]
- Some of the upper bits of the time related (seconds, minutes, etc.)
  registers are control bits or depending on the model contain additional
  time bits with a different meaning than the lower ones. In order to
  only read the desired time bits and not change the upper bits on write
  use appropriate masks in the gettime and settime function respectively.
  Due to the polarity of the stop oscillator bit and the fact that the
  century bits aren't used on sparc64 not masking them didn't cause
  problems so far.
- Fix two off-by-one errors in the handling of the day of week. The
  genclock code represents the dow as 0 - 6 with 0 being Sunday but the
  mk48txx use 1 - 7 with 1 being Sunday. In the settime function when
  writing the dow to the clock the range wasn't adjusted accordingly but
  the clock apparently played along nicely otherwise the second bug in
  the gettime function which mapped 1 - 7 to 0 - 6 but with 0 meaning
  Saturday would have been triggered. Fixing these makes the date being
  stored in the same format Sun/Solaris uses and cures the "Invalid time
  in real time clock. Check and reset the date immediately!" when the
  date was set under Solaris prior to booting FreeBSD/sparc64. [1]
  Looking at other clock drivers/code e.g. FreeBSD/alpha the former "bug",
  i.e. storing the dow as 0 - 6 even when the clock uses 1 - 7, seems to
  be common but might be on purpose for compatibility when multi-booting
  with other OS which do the same. So it might make sense to add a flag
  to handle the dow off-by-one for use of this driver on platforms other
  than sparc64.
- Check the state of the battery on mk48txx that support this in the
  attach function.
- Add a note that use of the century bit should be implemented but isn't
  required at the moment because it isn't used on sparc64.

Problem noted by: joerg [1]
MT5 candidate.

19 years agoRecognize options with values. If an option is present in both GENERIC
des [Sun, 19 Sep 2004 21:21:26 +0000 (21:21 +0000)]
Recognize options with values.  If an option is present in both GENERIC
and the custom kernel, but its value has been modified, it will now be
kept in its correct spot instead of being moved to the bottom.

19 years agoSimplify the reference counting of page table pages. Specifically, use
alc [Sun, 19 Sep 2004 21:20:01 +0000 (21:20 +0000)]
Simplify the reference counting of page table pages.  Specifically, use
the page table page's wired count rather than its hold count to contain
the reference count.  My rationale for this change is based on several
factors:

1. The machine-independent and pmap layers used the same hold count field
   in subtly different ways.  The machine-independent layer uses the hold
   count to implement a form of ephemeral wiring that is used by pipes,
   physio, etc.  In other words, subsystems where we wish to temporarily
   block a page from being swapped out while it is mapped into the kernel's
   address space.  Such pages are never removed from the page queues.
   Instead, the page daemon recognizes a non-zero hold count to mean "hands
   off this page."  In contrast, page table pages are never in the page
   queues; they are wired from birth to death.  The hold count was being
   used as a kind of reference count, specifically, the number of valid
   page table entries within the page.  Not surprisingly, these two
   different uses imply different synchronization rules: in the machine-
   independent layer access to the hold count requires the page queues
   lock; whereas in the pmap layer the pmap lock is required.  Thus,
   continued use by the pmap layer of vm_page_unhold(), which asserts that
   the page queues lock is held, made no sense.

2. _pmap_unwire_pte_hold() was too forgiving in its handling of the wired
   count.  An unexpected wired count on a page table page was ignored and
   the underlying page leaked.

3. In a word, microoptimization.  Using the wired count exclusively, rather
   than a combination of the wired and hold counts, makes the code slightly
   smaller and faster.

Reviewed by: tegge@

19 years agoFix a buffer overflow by using strncpy() instead of strcpy().
das [Sun, 19 Sep 2004 20:34:30 +0000 (20:34 +0000)]
Fix a buffer overflow by using strncpy() instead of strcpy().
Also, use strdup() instead of malloc()/strcpy().

PR: 64164

19 years agoAdd Sitecom LN-029 to list of supported devices.
simon [Sun, 19 Sep 2004 19:55:48 +0000 (19:55 +0000)]
Add Sitecom LN-029 to list of supported devices.

19 years agoAdd a config.h file.
trhodes [Sun, 19 Sep 2004 19:30:46 +0000 (19:30 +0000)]
Add a config.h file.

19 years agoAdd a FREEBSD-Xlist file.
trhodes [Sun, 19 Sep 2004 19:24:56 +0000 (19:24 +0000)]
Add a FREEBSD-Xlist file.

19 years agoThis commit was generated by cvs2svn to compensate for changes in r135471,
trhodes [Sun, 19 Sep 2004 18:34:53 +0000 (18:34 +0000)]
This commit was generated by cvs2svn to compensate for changes in r135471,
which included commits to RCS files with non-trunk default branches.

19 years agoVendor import of BIND 9.3.0rc4.
trhodes [Sun, 19 Sep 2004 18:34:53 +0000 (18:34 +0000)]
Vendor import of BIND 9.3.0rc4.
These three files were missed in the original import because their names
contained the magic letters w, i and n in that sequence.

19 years agoThe zone from which proc structures are allocated is marked
das [Sun, 19 Sep 2004 18:34:17 +0000 (18:34 +0000)]
The zone from which proc structures are allocated is marked
UMA_ZONE_NOFREE to guarantee type stability, so proc_fini() should
never be called.  Move an assertion from proc_fini() to proc_dtor()
and garbage-collect the rest of the unreachable code.  I have retained
vm_proc_dispose(), since I consider its disuse a bug.

19 years agofix misspelling of TX...
jmg [Sun, 19 Sep 2004 18:16:28 +0000 (18:16 +0000)]
fix misspelling of TX...

Submitted by: Johan Karlsson
MFC after: 3 days

19 years agospell RX correctly
jmg [Sun, 19 Sep 2004 17:51:41 +0000 (17:51 +0000)]
spell RX correctly
don't call re_rxeof a second time when we've already done the work
pull common code out from if and else clauses

MFC after: 3 days

19 years agocomment requirement that rx/tx descriptor counts must be equal due to
jmg [Sun, 19 Sep 2004 17:45:56 +0000 (17:45 +0000)]
comment requirement that rx/tx descriptor counts must be equal due to
shared code...
define rx descriptor count in terms of tx
align defines

MFC after: 3 days

19 years agoPlace a function prototype correctly.
ru [Sun, 19 Sep 2004 14:54:35 +0000 (14:54 +0000)]
Place a function prototype correctly.

Submitted by: Divacky Roman

19 years agoPrepare for 5.x soon becoming -STABLE.
ru [Sun, 19 Sep 2004 14:30:59 +0000 (14:30 +0000)]
Prepare for 5.x soon becoming -STABLE.

Pointed out by: -current users

19 years agoStyle.
ru [Sun, 19 Sep 2004 12:15:25 +0000 (12:15 +0000)]
Style.

19 years agoUse correct malloc type when freeing memory allocated by g_read_data.
fjoe [Sun, 19 Sep 2004 10:27:46 +0000 (10:27 +0000)]
Use correct malloc type when freeing memory allocated by g_read_data.

PR: 71431
Submitted by: daichi

19 years agoFix '-s' option for large disks and fix printing maximum file system size.
pjd [Sun, 19 Sep 2004 10:01:51 +0000 (10:01 +0000)]
Fix '-s' option for large disks and fix printing maximum file system size.

19 years agoThe getpages VOP was a good stab at getting scatter/gather I/O without
phk [Sun, 19 Sep 2004 08:14:55 +0000 (08:14 +0000)]
The getpages VOP was a good stab at getting scatter/gather I/O without
too much kernel copying, but it is not the right way to do it, and it is
in the way for straightening out the buffer cache.

The right way is to pass the VM page array down through the struct
bio to the disk device driver and DMA directly in to/out off the
physical memory.  Once the VM/buf thing is sorted out it is next on
the list.

Retire most of vnode method. ffs_getpages().  It is not clear if what is
left shouldn't be in the default implementation which we now fall back to.

Retire specfs_getpages() as well, as it has no users now.

19 years agoSort MAN and MLINKS in dictionary order ignoring case.
ru [Sun, 19 Sep 2004 06:11:45 +0000 (06:11 +0000)]
Sort MAN and MLINKS in dictionary order ignoring case.

19 years agoThe checksum code has been fixed; reflect this is a manpage.
ru [Sun, 19 Sep 2004 05:42:04 +0000 (05:42 +0000)]
The checksum code has been fixed; reflect this is a manpage.

19 years agoMFamd64/i386
alc [Sun, 19 Sep 2004 05:34:49 +0000 (05:34 +0000)]
MFamd64/i386
 Avoid recomputing PHYS_TO_VM_PAGE() unnecessarily in pmap_protect().

19 years agoSort MAN and MLINKS in dictionary order ignoring case.
ru [Sun, 19 Sep 2004 05:17:21 +0000 (05:17 +0000)]
Sort MAN and MLINKS in dictionary order ignoring case.

19 years agoMFp4:
marcel [Sun, 19 Sep 2004 03:50:46 +0000 (03:50 +0000)]
MFp4:
Completely remove the remaining EFI includes and add our own (type)
definitions instead. While here, abstract more of the internals by
providing interface functions.

19 years agoRemove an outdated assertion from _pmap_allocpte(). (When vm_page_alloc()
alc [Sun, 19 Sep 2004 02:39:31 +0000 (02:39 +0000)]
Remove an outdated assertion from _pmap_allocpte().  (When vm_page_alloc()
succeeds, the page's queue field is unconditionally set to PQ_NONE by
vm_pageq_remove_nowakeup().)

19 years agoVender import of BIND 9.3.0rc4.
trhodes [Sun, 19 Sep 2004 01:30:24 +0000 (01:30 +0000)]
Vender import of BIND 9.3.0rc4.

19 years agoThis commit was generated by cvs2svn to compensate for changes in r135446,
trhodes [Sun, 19 Sep 2004 01:30:24 +0000 (01:30 +0000)]
This commit was generated by cvs2svn to compensate for changes in r135446,
which included commits to RCS files with non-trunk default branches.

19 years agoPut in a commented out ispfw device under isp and note that this is usually
mjacob [Sun, 19 Sep 2004 00:52:22 +0000 (00:52 +0000)]
Put in a commented out ispfw device under isp and note that this is usually
a module.

19 years agoRelease the page queues lock earlier in pmap_protect() and pmap_remove() in
alc [Sat, 18 Sep 2004 22:56:58 +0000 (22:56 +0000)]
Release the page queues lock earlier in pmap_protect() and pmap_remove() in
order to reduce contention.

19 years agoRemove useless include of <machine/fpu.h>.
marcel [Sat, 18 Sep 2004 21:18:44 +0000 (21:18 +0000)]
Remove useless include of <machine/fpu.h>.

19 years agoAdd Sitecom's LN-029 USB 2.0 Ethernet adapter.
iedowse [Sat, 18 Sep 2004 19:48:10 +0000 (19:48 +0000)]
Add Sitecom's LN-029 USB 2.0 Ethernet adapter.

19 years agoAdd support for the fxp(4) based card in ICH6 (i915) chipsets.
mux [Sat, 18 Sep 2004 19:13:13 +0000 (19:13 +0000)]
Add support for the fxp(4) based card in ICH6 (i915) chipsets.

This is a RELENG_5 candidate.

Submitted by: Mike Tancsa <mike@sentex.net>

19 years agoadd MLINKs for the mbuf.9 man page..
jmg [Sat, 18 Sep 2004 19:04:24 +0000 (19:04 +0000)]
add MLINKs for the mbuf.9 man page..

MFC after: 3 days

19 years agoDocument '-p' flag for 'insert' command correct.
pjd [Sat, 18 Sep 2004 19:02:10 +0000 (19:02 +0000)]
Document '-p' flag for 'insert' command correct.

19 years agoFix a misspelling and delete an extra word.
bmah [Sat, 18 Sep 2004 18:42:33 +0000 (18:42 +0000)]
Fix a misspelling and delete an extra word.

19 years agopass in pointer to m_head to re_encap because m_defrag could free the
jmg [Sat, 18 Sep 2004 18:08:28 +0000 (18:08 +0000)]
pass in pointer to m_head to re_encap because m_defrag could free the
original mbuf causing a free'd mbuf passed to bpf later and panic'ing the
system..  This should only effect jumbo frames.

MFC after: 5 days

19 years agoSingle concat or striped plexes don't need no special initialization
le [Sat, 18 Sep 2004 18:03:20 +0000 (18:03 +0000)]
Single concat or striped plexes don't need no special initialization
if their subdisks are all available, so let them be brought up.

19 years agoInitialize new ttys a bit more.
phk [Sat, 18 Sep 2004 17:02:18 +0000 (17:02 +0000)]
Initialize new ttys a bit more.

Check TS_GONE flag for gone-ness.

19 years agoUse tty->t_sc to find out softc.
phk [Sat, 18 Sep 2004 16:43:44 +0000 (16:43 +0000)]
Use tty->t_sc to find out softc.

19 years agoRevert rev. 1.351 of this file, which allowed users to read the
bmah [Sat, 18 Sep 2004 16:31:44 +0000 (16:31 +0000)]
Revert rev. 1.351 of this file, which allowed users to read the
(now obsolete and disconnected on HEAD) Early Adopters Guide from
within sysinstall.

19 years agoRe-vamp how I/O is handled in volumes and plexes.
le [Sat, 18 Sep 2004 13:44:43 +0000 (13:44 +0000)]
Re-vamp how I/O is handled in volumes and plexes.

Analogous to the drive level, give each volume and plex a worker thread
that picks up and processes incoming and completed BIOs.

This should fix the data corruption issues that have come up a few
weeks ago and improve performance, especially of RAID5 plexes.

The volume level needs a little work, though.

19 years agoModify accept_fd_leak regression test to generate "PASS" output, not
rwatson [Sat, 18 Sep 2004 13:06:00 +0000 (13:06 +0000)]
Modify accept_fd_leak regression test to generate "PASS" output, not
just "FAIL" output, in order to make it consistent with other tests in
the regression test tree.

19 years agoRe-formulate the first sentence for better readability
brueffer [Sat, 18 Sep 2004 12:33:01 +0000 (12:33 +0000)]
Re-formulate the first sentence for better readability

MFC after: 3 days

19 years agoActually this order (unlock, wakeup) in this case is race-safe and can
pjd [Sat, 18 Sep 2004 09:16:19 +0000 (09:16 +0000)]
Actually this order (unlock, wakeup) in this case is race-safe and can
save us 2 context switches.

Explained by: njl

19 years agoReorganize the "Kernel Changes" section, including:
hrs [Sat, 18 Sep 2004 06:38:08 +0000 (06:38 +0000)]
Reorganize the "Kernel Changes" section, including:
- Add "Hardware Support" section and move device driver-related
  items there.
- Move "Multimedia Support" and "Network Interface Support" into
  the "Hardware Support" section as sub-sections.
- Move Netgraph-related items to "Network Protocols".

For translators: many items are moved but the contents
are not changed.

19 years agoLog the renaming of an interface. This should make it easier to follow
brooks [Sat, 18 Sep 2004 05:02:08 +0000 (05:02 +0000)]
Log the renaming of an interface.  This should make it easier to follow
kernel log files.

19 years agoA long, long time ago in a CVS branch far away (specifically, HEAD prior
jhb [Sat, 18 Sep 2004 02:07:00 +0000 (02:07 +0000)]
A long, long time ago in a CVS branch far away (specifically, HEAD prior
to 4.0 and RELENG_3), the BTX mini-kernel used paging rather than flat
mode and clients were limited to a virtual address space of 16 megabytes.
Because of this limitation, boot2 silently masked all physical addresses
in any binaries it loaded so that they were always loaded into the first
16 Meg.  Since BTX no longer has this limitation (and hasn't for a long
time), remove the masking from boot2.  This allows boot2 to load kernels
larger than about 12 to 14 meg (12 for non-PAE, 14 for PAE).

Submitted by: Sergey Lyubka devnull at uptsoft dot com
MFC after: 1 month

19 years agoMFi386: revision 1.56 (Add -fno-unit-at-a-time to CFLAGS).
nyan [Sat, 18 Sep 2004 00:12:04 +0000 (00:12 +0000)]
MFi386: revision 1.56 (Add -fno-unit-at-a-time to CFLAGS).

19 years agoMan page for flowctl utility.
glebius [Fri, 17 Sep 2004 22:37:45 +0000 (22:37 +0000)]
Man page for flowctl utility.

mdoc(7) lessons by: ru
Approved by: julian (mentor)

19 years agoMove makectx() after kdb_cpu_trap(), so the PCB will have possible MD
marcel [Fri, 17 Sep 2004 22:27:23 +0000 (22:27 +0000)]
Move makectx() after kdb_cpu_trap(), so the PCB will have possible MD
corrections made to the trapframe. This is more logical.

19 years agoFix an issue with ng_tty which (ab)used the tty->t_sc field which is
phk [Fri, 17 Sep 2004 22:26:27 +0000 (22:26 +0000)]
Fix an issue with ng_tty which (ab)used the tty->t_sc field which is
reserved for the device drivers:

Add a t_lsc field for line discipline private use.

19 years agoProvide our own FPSWA definitions, instead of depending on the Intel
marcel [Fri, 17 Sep 2004 22:19:41 +0000 (22:19 +0000)]
Provide our own FPSWA definitions, instead of depending on the Intel
EFI headers and put them all in <machine/fpu.h>. The Intel EFI headers
conflict with the Intel ACPI headers (duplicate type definitions), so
are being phased out in the kernel.

19 years agoDon't attempt to install the (obsolete and disconnected) Early Adopters
bmah [Fri, 17 Sep 2004 21:46:17 +0000 (21:46 +0000)]
Don't attempt to install the (obsolete and disconnected) Early Adopters
Guide on release media.

19 years agoRemove useless inclusion of <machine/fpu.h>
marcel [Fri, 17 Sep 2004 20:42:45 +0000 (20:42 +0000)]
Remove useless inclusion of <machine/fpu.h>

19 years ago- properly capitalize NetFlow
glebius [Fri, 17 Sep 2004 20:09:59 +0000 (20:09 +0000)]
- properly capitalize NetFlow
- small grammar fix

Submitted by: ru

19 years ago- Remove advertising clause from copyright [1]
glebius [Fri, 17 Sep 2004 19:58:03 +0000 (19:58 +0000)]
- Remove advertising clause from copyright [1]
- Change my email to glebius@FreeBSD.org

Requested by: ru [1]

19 years agoFix compiler warnings, when __stdcall is #defined, by adding explicit casts.
bms [Fri, 17 Sep 2004 19:54:26 +0000 (19:54 +0000)]
Fix compiler warnings, when __stdcall is #defined, by adding explicit casts.
These normally only manifest if the ndis compat module is statically
compiled into a kernel image by way of 'options NDISAPI'.

Submitted by: Dmitri Nikulin
Approved by: wpaul
PR: kern/71449
MFC after: 1 week

19 years agoA man page for Netflow node.
glebius [Fri, 17 Sep 2004 19:30:39 +0000 (19:30 +0000)]
A man page for Netflow node.

English lessons by: julian
mdoc(7) lessons by: ru
Approved by: julian (mentor)

19 years agoThe early-adopter doesn't exist in HEAD anymore. The source is there,
keramida [Fri, 17 Sep 2004 19:28:46 +0000 (19:28 +0000)]
The early-adopter doesn't exist in HEAD anymore.  The source is there,
but it's disconnected from the build.  Remove it from the architecture
independent release documentation set, because it breaks "make release"
when NODOC is undefined.

Reviewed by: hrs

19 years agoFix compilation again.
phk [Fri, 17 Sep 2004 19:24:58 +0000 (19:24 +0000)]
Fix compilation again.

19 years agoThe long dead hand of the past has pushed forward useless bits in this
imp [Fri, 17 Sep 2004 18:50:38 +0000 (18:50 +0000)]
The long dead hand of the past has pushed forward useless bits in this
driver.  Trim its fingernails by removing some useless bits before
fixing the 'thread not terminated on detach' problem.

o dmacnt is no longer used now that we allocate at attach time.  Remove
  it from struct fdc_data.
o ISPNP was only ever set, but never tested.  It used to be used for the
  allocation routines to change how it allocated resources.  Since that's
  no longer necessary, retire the flag.
o ISPCMICA was only ever tested, but never set.  GC it.  This removes
  a special case in determining the drive type.  The drive type is
  now set in fdc_pcmcia.c, so the hack isn't needed anymore.  Sadly,
  this isn't tested with a Y-E Data pcmcia floppy drive because there
  are a number of other issues that preclude it from working.
o Fix ifdef for reading from the rtc.  I'm of the opinion that this ifdef
  should be moved into fdc_isa.c, but not today as ideally there'd be
  other fixes to the probing of children.  So now we just read it on
  i386 ! pc98 (there's no #define for MACHINE_ARCH, just MACHINE, hence
  this slightly inelegant kludge) and amd64.  The PC98 exclusion likely
  isn't meaningful since pc98 uses a different driver, but will be when
  merging of the pc98 floppy code into this driver is complete (this is the
  other reason I think this block of code belongs outside fdc.c).

All of these changes are safe to MT5.

19 years agoTeach swap1 script how to remove added swap devices on system shutdown.
pjd [Fri, 17 Sep 2004 17:58:19 +0000 (17:58 +0000)]
Teach swap1 script how to remove added swap devices on system shutdown.
Without this change, if one had a swap-on-mirror configuration, gmirror
will rebuild mirror component(s) on boot, because they are dirty (they
were open on shutdown).

19 years agoUse correct format string.
le [Fri, 17 Sep 2004 17:08:44 +0000 (17:08 +0000)]
Use correct format string.

Submitted by:   ssouhlal

19 years agoDon't refer to the (now disconnected) early adopter's guide anymore.
bmah [Fri, 17 Sep 2004 16:29:46 +0000 (16:29 +0000)]
Don't refer to the (now disconnected) early adopter's guide anymore.

19 years agoSince early-adopter has been disconnected from the build, don't try
bmah [Fri, 17 Sep 2004 16:16:31 +0000 (16:16 +0000)]
Since early-adopter has been disconnected from the build, don't try
to install it to a RELNOTESng snapshot.

19 years agoFix typo.
dds [Fri, 17 Sep 2004 14:53:46 +0000 (14:53 +0000)]
Fix typo.

MFC after: 2 days

19 years agoUserland control utility for ng_netflow.
glebius [Fri, 17 Sep 2004 12:02:22 +0000 (12:02 +0000)]
Userland control utility for ng_netflow.

Approved by: julian (mentor)

19 years agoOverhaul ucom serial driver by using generic stuff instead of homerolled
phk [Fri, 17 Sep 2004 11:53:45 +0000 (11:53 +0000)]
Overhaul ucom serial driver by using generic stuff instead of homerolled
all over the place.

19 years agoAdd ttyopen and ttyclose functions which will do the right stuff for
phk [Fri, 17 Sep 2004 11:43:35 +0000 (11:43 +0000)]
Add ttyopen and ttyclose functions which will do the right stuff for
most if not all of our tty drivers in the future.

Centralizing this stuff enables us to remove about 100 lines of
almost but not quite perfectly copy&paste code from each tty driver.

19 years agoforward declare struct cdev, not cdevsw;
phk [Fri, 17 Sep 2004 11:39:56 +0000 (11:39 +0000)]
forward declare struct cdev, not cdevsw;

19 years agoAllocate tty at attach time instead of open time.
phk [Fri, 17 Sep 2004 11:04:57 +0000 (11:04 +0000)]
Allocate tty at attach time instead of open time.

19 years agoBe slightly less bogus in struct tty allocation.
phk [Fri, 17 Sep 2004 11:02:53 +0000 (11:02 +0000)]
Be slightly less bogus in struct tty allocation.

19 years agoUse tty->t_sc, ttyalloc() and lock/init termios from struct tty.
phk [Fri, 17 Sep 2004 10:59:17 +0000 (10:59 +0000)]
Use tty->t_sc, ttyalloc() and lock/init termios from struct tty.

19 years agoInclude <sys/malloc.h> to satisfy new isa_dma stuff.
phk [Fri, 17 Sep 2004 10:55:01 +0000 (10:55 +0000)]
Include <sys/malloc.h> to satisfy new isa_dma stuff.

19 years agoPass the idea of the make(1) binary to use down to newvers.sh.
ru [Fri, 17 Sep 2004 09:17:33 +0000 (09:17 +0000)]
Pass the idea of the make(1) binary to use down to newvers.sh.
This is necessary so source upgrades use the correct binary.

MFC after: 3 days

For the record: Problem spotted by Scott Long, who mentioned
that source upgrades from 4.7 to recent 5.x and 6.0 are broken.
Detailed analysis shows that 4.7 has a broken make(1) binary.
A breakage was fixed in RELENG_4 in make/main.c,v 1.35.2.7 by
imp@, though the commit log erroneously stated "MFC 1.68"
while in fact it should have been spelled as "MFC 1.67".

19 years agoDo not exit after printing usage, give geom(8) a chance to show standard
pjd [Fri, 17 Sep 2004 08:41:15 +0000 (08:41 +0000)]
Do not exit after printing usage, give geom(8) a chance to show standard
commands.

19 years ago- Show all commands in usage, even if those commands are not available.
pjd [Fri, 17 Sep 2004 08:38:53 +0000 (08:38 +0000)]
- Show all commands in usage, even if those commands are not available.
- When command is not available, just say it, instead of says, that command
  is unknown. Old behaviour seems to be too confusing.

19 years agoAdd various stuff to struct tty and surounding areas in preparation
phk [Fri, 17 Sep 2004 08:34:43 +0000 (08:34 +0000)]
Add various stuff to struct tty and surounding areas in preparation
for getting stuff from P4::phk_tty into -current.

19 years agoUse ttyalloc() instead of ttymalloc(NULL)
phk [Fri, 17 Sep 2004 07:28:07 +0000 (07:28 +0000)]
Use ttyalloc() instead of ttymalloc(NULL)

19 years agoBring kernel time variable and access function docs up to date by
brooks [Fri, 17 Sep 2004 07:24:18 +0000 (07:24 +0000)]
Bring kernel time variable and access function docs up to date by
updating the list of variables and mentioning the bin(up)time functions.

19 years agoDocument the struct if_data members ifi_datalen, ifi_epoch, and
brooks [Fri, 17 Sep 2004 06:49:43 +0000 (06:49 +0000)]
Document the struct if_data members ifi_datalen, ifi_epoch, and
ifi_link_state.

Reminded by: ru

19 years agoAdd my birth date to our calendar.
delphij [Fri, 17 Sep 2004 06:36:01 +0000 (06:36 +0000)]
Add my birth date to our calendar.

Approved by: murray (mentor)

19 years agoAdd ttyalloc() which in due time will be the successor to ttymalloc(),
phk [Fri, 17 Sep 2004 06:13:47 +0000 (06:13 +0000)]
Add ttyalloc() which in due time will be the successor to ttymalloc(),
but without the "struct tty *" argument.

19 years agoFurther refine some #ifs:
das [Fri, 17 Sep 2004 05:15:33 +0000 (05:15 +0000)]
Further refine some #ifs:
- Simplify the logic by using __GNUC_PREREQ__.
  Suggested by stefanf.
- Make math.h compile with old (pre-8.0) versions of icc.
  Submitted by sf [sic].