]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoMFp4:
imp [Sun, 2 Nov 2003 20:18:19 +0000 (20:18 +0000)]
MFp4:
o Fix MFC cards.  We were bogusly setting CCR_IOBASE[01] and CCR_IOLIMIT.
  now when we activate the resource, we adjust these for MFC cards, per the
  spec.
o Change type of pf_mfc_* to be bus_addr_t, which is more correct than
  long.

This makes my 3C362D/3C363D and 3CXEM556 cards work!  Woo Hoo!

20 years agoMFp4:
imp [Sun, 2 Nov 2003 20:13:39 +0000 (20:13 +0000)]
MFp4:
o Remove redundant $FreeBSD$
o Better comments about ep_get_macaddr.
o remove one tab in a switch statement (style only)
o Recognize ID 0x0035 as the device ID for the 3CXEM556 that I have.  This
  makes the 3CXEM556 work for me.  Not 100% sure this is the assigned ID,
  as I don't have the datasheets for this part, but it does work and get
  the correct ethrnet address.
o Comment about the whole fake IRQ 3 thing.  some need it, some don't, all
  work with it.

20 years agoMFp4:
imp [Sun, 2 Nov 2003 20:10:09 +0000 (20:10 +0000)]
MFp4:
o Minor tweak to error processing in ep_alloc.

20 years agoMFP4:
imp [Sun, 2 Nov 2003 20:08:58 +0000 (20:08 +0000)]
MFP4:
o define EP_W2_ALT_EEPROM.  we don't use it yet, but may soon.

20 years agorename variables.
ume [Sun, 2 Nov 2003 19:09:29 +0000 (19:09 +0000)]
rename variables.

Obtained from: KAME

20 years agoSince we do not honour the Confidential: field, and as an attempt to
ceri [Sun, 2 Nov 2003 17:35:33 +0000 (17:35 +0000)]
Since we do not honour the Confidential: field, and as an attempt to
decrease the number of misfiled PR submissions in general, do not
allow users to send a PR that contains errors.

Discussed with: core

20 years agocorrect %d/%u mismatch.
ume [Sun, 2 Nov 2003 12:28:04 +0000 (12:28 +0000)]
correct %d/%u mismatch.

Obtained from: KAME

20 years agoexit(3) with negative value does not make sense'
ume [Sun, 2 Nov 2003 11:43:07 +0000 (11:43 +0000)]
exit(3) with negative value does not make sense'

Obtained from: KAME

20 years agomake debugging with "setkey -x" a lot easier.
ume [Sun, 2 Nov 2003 11:26:42 +0000 (11:26 +0000)]
make debugging with "setkey -x" a lot easier.

Obtained from: KAME

20 years ago - Remove the ksq_loads[] array. We are only interested in three counts,
jeff [Sun, 2 Nov 2003 10:56:48 +0000 (10:56 +0000)]
 - Remove the ksq_loads[] array.  We are only interested in three counts,
   the total load, the timeshare load, and the number of threads that can
   be migrated to another cpu.  Account for these seperately.
 - Introduce a KSE_CAN_MIGRATE() macro which determines whether or not a KSE
   can be migrated to another CPU.  Currently, this only checks to see if
   we're an interrupt handler.  Eventually this will also be used to support
   CPU binding.

20 years agoMake sure we get all user-written input. This simplifies the
markm [Sun, 2 Nov 2003 10:55:16 +0000 (10:55 +0000)]
Make sure we get all user-written input. This simplifies the
code considerably.

Submitted by: (forgotten)
[I'll happily acknowledge the submitter if he owns up!]

20 years agocleanup secasvar management; refcnt is key.c responsibility;
ume [Sun, 2 Nov 2003 10:49:47 +0000 (10:49 +0000)]
cleanup secasvar management; refcnt is key.c responsibility;
alloc/free is keydb.c responsibility.

Obtained from: KAME

20 years agoConvert the Big5, EUC, MSKanji and UTF-8 encoding methods to implement
tjr [Sun, 2 Nov 2003 10:09:33 +0000 (10:09 +0000)]
Convert the Big5, EUC, MSKanji and UTF-8 encoding methods to implement
mbrtowc() and wcrtomb() directly. GB18030, GBK and UTF2 are left
unconverted; GB18030 will be done eventually, but GBK and UTF2 may just
be removed, as they are subsets of GB18030 and UTF-8 respectively.

20 years agoRemove headers copied from i386 and either useless or wrong on ia64.
marcel [Sun, 2 Nov 2003 09:19:07 +0000 (09:19 +0000)]
Remove headers copied from i386 and either useless or wrong on ia64.
An example of useless is bios.h. An example of wrong is msdos.h (due
to the use of long for 32-bit fields).

display.h cannot be removed because it's used by syscons. That header
however has no platform dependency and shouldn't really be here.

Removal if these headers may cause build failures in the ports tree.
It's the ports that need fixing in that case.

Tested with: buildworld, LINT

20 years ago- do not quit from key_sendup() even if writes to non-target
ume [Sun, 2 Nov 2003 09:13:33 +0000 (09:13 +0000)]
- do not quit from key_sendup() even if writes to non-target
  socket fails.
- remove an unneeded function.
- fix pfkey stat.
- fix comment.

Obtained from: KAME

20 years agoo Add PART_EFI so that we can use it instead of PART_FAT on ia64
marcel [Sun, 2 Nov 2003 08:58:57 +0000 (08:58 +0000)]
o  Add PART_EFI so that we can use it instead of PART_FAT on ia64
   to better deal with the fact that we need an EFI partition and
   that we need to have a mountpoint for it.
o  When creating a new partition, add EFI to the list of types
   the user can select from. This makes it easy to create an EFI.
o  Do not include wizard.c on ia64.
o  The user cannot create a partition on ia64 that's a multiple of
   the cylinder size. We don't have a notion of cyclinders.

20 years agoTurn Write_Disk() into a stub for now. It needs to be rewritten to
marcel [Sun, 2 Nov 2003 08:41:18 +0000 (08:41 +0000)]
Turn Write_Disk() into a stub for now. It needs to be rewritten to
write out a GPT and not a MBR.

20 years agoo Move Int_Open_Disk() from disk.c to open_disk.c for use by all
marcel [Sun, 2 Nov 2003 08:39:08 +0000 (08:39 +0000)]
o  Move Int_Open_Disk() from disk.c to open_disk.c for use by all
   platforms except ia64 and use Int_Open_Disk() in open_ia64_disk.c
   on ia64. We need to know more than GEOM can provide us so we're
   forced to read from the disk. Move uuid_type() to open_ia64_disk.c
   and remove all references on non-ia64.
o  Pass the GEOM conftxt to Int_Open_Disk() so that only Open_Disk()
   needs to know about GEOM and libdisk can more easily be used with
   media not handled by GEOM.
o  Create an ia64 specific definiton of struct disk on ia64, because
   we don't need/have most of the fields other platforms need and
   other fields not applicable on platforms other than ia64.
o  Do not compile change.c on ia64. It's too PC specific.
o  In Fixup_Names() in create_chunk.c, try all partition numbers
   that are valid for the GPT disk. We have the total number of
   partitions that can be allocated in the disk structure on ia64.
   Also, use the GPT partition naming if we're creating one under
   a chunk of type "whole". It's a GPT partition in that case.
o  In Create_Chunk(), compile-out the PC specific code on ia64 that
   checks BIOS geometry restrictions.
o  In Debug_Disk() in disk.c, dump the ia64 specific fields.
o  Save the partition index in the chunk on ia64 so that we can
   preserve it when we write the data back to disk. This avoids that
   partitions get moved around or swapped after installing FreeBSD,
   which may render a disk unusable.

20 years agoDo not fill in d_ncylinders, d_ntracks and d_nsectors in the disklabel
marcel [Sun, 2 Nov 2003 08:07:25 +0000 (08:07 +0000)]
Do not fill in d_ncylinders, d_ntracks and d_nsectors in the disklabel
on ia64. Not only do we not have a disklabel by default, we also do
not have a notion of cylinders, tracks and sectors.

20 years agoCompile-out support for allfreebsd, dedicate, sanitize and bios on
marcel [Sun, 2 Nov 2003 08:01:18 +0000 (08:01 +0000)]
Compile-out support for allfreebsd, dedicate, sanitize and bios on
ia64. These commands are PC specific and not supported.

20 years agoTurn Track_Aligned(), Prev_Track_Aligned(), Next_Track_Aligned(),
marcel [Sun, 2 Nov 2003 07:58:19 +0000 (07:58 +0000)]
Turn Track_Aligned(), Prev_Track_Aligned(), Next_Track_Aligned(),
Cyl_Aligned(), Prev_Cyl_Aligned() and Next_Cyl_Aligned() into
tautologies on ia64. GPT removes all notion of tracks, heads and
sectors per track, so there are no alignment considerations.

20 years agoAdd an additional check to the tcp_twrecycleable function; I had
silby [Sun, 2 Nov 2003 07:47:03 +0000 (07:47 +0000)]
Add an additional check to the tcp_twrecycleable function; I had
previously only considered the send sequence space.  Unfortunately,
some OSes (windows) still use a random positive increments scheme for
their syn-ack ISNs, so I must consider receive sequence space as well.

The value of 250000 bytes / second for Microsoft's ISN rate of increase
was determined by testing with an XP machine.

20 years agoo In Print_Chunk(), don't print the address of the chunk on ia64. It
marcel [Sun, 2 Nov 2003 07:44:59 +0000 (07:44 +0000)]
o  In Print_Chunk(), don't print the address of the chunk on ia64. It
   doesn't have any meaning and only results in lines longer than 80
   characters.
o  In Delete_Chunk2(), also look for chunks of type "part" under
   chunks of type "whole" on ia64. They're not only under chunks of
   type "freebsd" there.

20 years agoTrim more devices from the hardware list: ida(4), ciss(4), iir(4),
bmah [Sun, 2 Nov 2003 07:41:03 +0000 (07:41 +0000)]
Trim more devices from the hardware list:  ida(4), ciss(4), iir(4),
ie(4).

20 years agoDNS should not necessarily be named(8), tweak the comment a bit.
ru [Sun, 2 Nov 2003 07:31:44 +0000 (07:31 +0000)]
DNS should not necessarily be named(8), tweak the comment a bit.

20 years agoMFV: The -d option.
ru [Sun, 2 Nov 2003 07:27:40 +0000 (07:27 +0000)]
MFV: The -d option.

20 years agoSort encodings.
ru [Sun, 2 Nov 2003 07:25:24 +0000 (07:25 +0000)]
Sort encodings.

20 years agoStyle.
ru [Sun, 2 Nov 2003 06:47:39 +0000 (06:47 +0000)]
Style.

20 years agoThe '574 family works (I had a bad dongle which is why I thought it
imp [Sun, 2 Nov 2003 05:33:12 +0000 (05:33 +0000)]
The '574 family works (I had a bad dongle which is why I thought it
might not be).
The modem combo cards do not (confirmed today)

20 years agoTake care not to call vput if thread used in corresponding vget
kan [Sun, 2 Nov 2003 04:52:53 +0000 (04:52 +0000)]
Take care not to call vput if thread used in corresponding vget
wasn't curthread, i.e. when we receive a thread pointer to use
as a function argument. Use VOP_UNLOCK/vrele in these cases.

The only case there td != curthread known at the moment is
boot() calling sync with thread0 pointer.

This fixes the panic on shutdown people have reported.

20 years ago - In sched_prio() only force us onto the current queue if our priority is
jeff [Sun, 2 Nov 2003 04:25:59 +0000 (04:25 +0000)]
 - In sched_prio() only force us onto the current queue if our priority is
   being elevated (numerically smaller).

20 years ago - Rename SCHED_PRI_NTHRESH to SCHED_SLICE_NTHRESH since it is only used in
jeff [Sun, 2 Nov 2003 04:10:15 +0000 (04:10 +0000)]
 - Rename SCHED_PRI_NTHRESH to SCHED_SLICE_NTHRESH since it is only used in
   slice assignment.  Add a comment describing what it does.
 - Remove a stale XXX comment, the nice should not impact the interactivity,
   nice adjustments only effect non-interactive tasks in ULE.
 - Don't allow nice -20 tasks to totally starve nice 0 tasks.  Give them at
   least SCHED_SLICE_MIN ticks.  We still allow nice 0 tasks to starve nice
   +20 tasks as intended.

20 years ago - Remove PRIO_TOTAL.
jeff [Sun, 2 Nov 2003 03:50:16 +0000 (03:50 +0000)]
 - Remove PRIO_TOTAL.

Submitted by: bde

20 years ago - Remove uses of PRIO_TOTAL and replace them with SCHED_PRI_NRESV
jeff [Sun, 2 Nov 2003 03:49:32 +0000 (03:49 +0000)]
 - Remove uses of PRIO_TOTAL and replace them with SCHED_PRI_NRESV
 - SCHED_PRI_NRESV does not have the off by one error in PRIO_TOTAL so we
   do not have to account for it in the few places that we use it.

Requested by: bde

20 years ago - Change sched_interact_update() to only accept slp+runtime values between
jeff [Sun, 2 Nov 2003 03:36:33 +0000 (03:36 +0000)]
 - Change sched_interact_update() to only accept slp+runtime values between
   0 and SCHED_SLP_RUN_MAX * 2.  This allows us to simplify the algorithm
   quite a bit.  Before, it dealt with arbitrary values which required us
   to do nasty integer division tricks that didn't quite work out correctly.
 - Chnage sched_wakeup() to detect conditions where the slp+runtime could
   exceed SCHED_SLP_RUN_MAX * 2.  This can happen if we go to sleep for
   longer than 6 seconds.  In this case, we'll just clear the runtime and
   set the sleep time to the max.
 - Define a new function, sched_interact_fork() which updates the slp+runtime
   of a newly forked thread.  We want to limit the amount of history retained
   from the parent so that we learn the child's behavior quickly.  We don't,
   however want to decay it to nothing.  Previously, we would simply divide
   each parameter by 100 whenever we forked.  After a few forks the values
   would reach 0 and tasks would not be considered interactive.
 - Add another KTR entry, cleanup some existing entries.
 - Remove a useless sched_interact_update() from sched_priority().  This is
   already done by the callers that require it.

20 years agoDo if_xname conversion. I missed this one because it's pc98 only.
brooks [Sat, 1 Nov 2003 23:24:38 +0000 (23:24 +0000)]
Do if_xname conversion.  I missed this one because it's pc98 only.

20 years ago - Increase the scope of two vm object locks in vm_object_collapse().
alc [Sat, 1 Nov 2003 23:06:41 +0000 (23:06 +0000)]
 - Increase the scope of two vm object locks in vm_object_collapse().
 - Remove the acquisition and release of Giant from vm_object_coalesce().

20 years agoo Do not define WITH_SYSCONS and WITH_MICE on ia64. We cannot have
marcel [Sat, 1 Nov 2003 20:17:11 +0000 (20:17 +0000)]
o  Do not define WITH_SYSCONS and WITH_MICE on ia64. We cannot have
   a generic kernel with syscons.
o  Do not define WITH_SLICES on ia64. We only label because we're
   going to create GPT disks.

20 years agoo Compile-out "wizard" mode on ia64.
marcel [Sat, 1 Nov 2003 20:14:06 +0000 (20:14 +0000)]
o  Compile-out "wizard" mode on ia64.
o  Also allow swap and filesystem partitions outside a freebsd slice.
   This is typically the case for GPT.
o  Allow chunks of type "whole" to be displayed at the top. This is
   to allow a GPT disk to be labeled. We need a slice out of which we
   can make partitions, but a GPT disk doesn't have slices. For GPT
   disks a chunk of type "whole" can then be used as a placeholder.

20 years agoo Compile-out "wizard" mode on ia64.
marcel [Sat, 1 Nov 2003 20:04:12 +0000 (20:04 +0000)]
o  Compile-out "wizard" mode on ia64.
o  Do not set bootblocks on ia64. It's not even a functionality in
   libdisk on ia64.

20 years agoRevert the first part of my previous change.
trhodes [Sat, 1 Nov 2003 16:57:19 +0000 (16:57 +0000)]
Revert the first part of my previous change.

Requested by: wollman

20 years agoThe copywrite is not a 'static char', remove the #ifdefs and move the copywrite up
trhodes [Sat, 1 Nov 2003 15:58:06 +0000 (15:58 +0000)]
The copywrite is not a 'static char', remove the #ifdefs and move the copywrite up
into the commented out 'copywrite' section.

Include sys/linker.h for kldload(3).

20 years agoRemove now unused variable.
kan [Sat, 1 Nov 2003 15:04:50 +0000 (15:04 +0000)]
Remove now unused variable.

20 years agoMake the cardbus driver a derived class of the pci driver. In theory, this
dfr [Sat, 1 Nov 2003 12:45:03 +0000 (12:45 +0000)]
Make the cardbus driver a derived class of the pci driver. In theory, this
should allow many of the pci methods to be re-staticised.

20 years agoGEOM'ify atapi-cd. Original patch by phk, subtle changes by me.
sos [Sat, 1 Nov 2003 09:44:33 +0000 (09:44 +0000)]
GEOM'ify atapi-cd. Original patch by phk, subtle changes by me.

20 years agoShorten the code by removing one "do-nothing" function, replacing it
markm [Sat, 1 Nov 2003 09:31:54 +0000 (09:31 +0000)]
Shorten the code by removing one "do-nothing" function, replacing it
with nullop(), which is in kern_conf.c.

20 years agoFix cable detection on AMD chips.
sos [Sat, 1 Nov 2003 09:30:15 +0000 (09:30 +0000)]
Fix cable detection on AMD chips.

20 years ago - Modify swap_pager_copy() and its callers such that the source and
alc [Sat, 1 Nov 2003 08:57:26 +0000 (08:57 +0000)]
 - Modify swap_pager_copy() and its callers such that the source and
   destination objects are locked on entry and exit.  Add comments to
   the callers noting that the locks can be released by swap_pager_copy().
 - Remove several instances of GIANT_REQUIRED.

20 years agoFixed breakage of my world in rev.1.30. #include <sys/time.h> instead of
bde [Sat, 1 Nov 2003 08:43:54 +0000 (08:43 +0000)]
Fixed breakage of my world in rev.1.30.  #include <sys/time.h> instead of
depending on namespace pollution in <sys/stat.h> for the declarations of
struct timeval and utimes().

Fixed some style bugs in rev.1.30 and some nearby style bugs (mainly
unsorting and missing or extra blank lines).

Removed a wrong comment that was obtained from NetBSD in rev.1.14.  It said
that chflags() reset the times that were set "above" by utimes(), but
utimes wasn't "above" in FreeBSD until rev.1.30, and chflags() does't
actually reset the times.

20 years agoRemove TODO comment about creating a macro version of towctrans().
tjr [Sat, 1 Nov 2003 08:20:58 +0000 (08:20 +0000)]
Remove TODO comment about creating a macro version of towctrans().
Remove unnecessary inclusion of <ctype.h>.

20 years agoFix a typo that caused the optimized single-byte locale path not to be taken.
tjr [Sat, 1 Nov 2003 08:18:18 +0000 (08:18 +0000)]
Fix a typo that caused the optimized single-byte locale path not to be taken.

20 years ago- Add a new function tcp_twrecycleable, which tells us if the ISN which
silby [Sat, 1 Nov 2003 07:30:08 +0000 (07:30 +0000)]
- Add a new function tcp_twrecycleable, which tells us if the ISN which
we will generate for a given ip/port tuple has advanced far enough
for the time_wait socket in question to be safely recycled.

- Have in_pcblookup_local use tcp_twrecycleable to determine if
time_Wait sockets which are hogging local ports can be safely
freed.

This change preserves proper TIME_WAIT behavior under normal
circumstances while allowing for safe and fast recycling whenever
ephemeral port space is scarce.

20 years agoFix a few style glitches in the previous commit and make the
silby [Sat, 1 Nov 2003 07:06:04 +0000 (07:06 +0000)]
Fix a few style glitches in the previous commit and make the
tunable error message more brief.

Suggested by: bde

20 years agoMore trimmage of the hardware notes: sf(4), tx(4), wb(4), nge(4),
bmah [Sat, 1 Nov 2003 06:08:52 +0000 (06:08 +0000)]
More trimmage of the hardware notes:  sf(4), tx(4), wb(4), nge(4),
ste(4), sk(4), le(4), lge(4), txp(4), bge(4).

These are all Ethernet drivers whose manual pages already list
specific supported devices.

20 years agoTemporarily undo parts of the stuct mount locking commit by jeff.
kan [Sat, 1 Nov 2003 05:51:54 +0000 (05:51 +0000)]
Temporarily undo parts of the stuct mount locking commit by jeff.
It is unsafe to hold a mutex across vput/vrele calls.

This will be redone when a better locking strategy is agreed upon.

Discussed with: jeff

20 years agoAdd a manual page for the utrace() system call.
tjr [Sat, 1 Nov 2003 05:36:14 +0000 (05:36 +0000)]
Add a manual page for the utrace() system call.

Obtained from: NetBSD

20 years agoAllow mbrtowc() and wcrtomb() to be implemented directly, instead of
tjr [Sat, 1 Nov 2003 05:13:13 +0000 (05:13 +0000)]
Allow mbrtowc() and wcrtomb() to be implemented directly, instead of
as wrappers around the deprecated 4.4BSD rune functions. This paves the
way for state-dependent encodings, which the rune API does not support.
- Add __emulated_sgetrune() and __emulated_sputrune(), which are
  implementations of sgetrune() and sputrune() in terms of
  mbrtowc() and wcrtomb().
- Rename the old rune-wrapper mbrtowc() and wcrtomb() functions to
  __emulated_mbrtowc() and __emulated_wcrtomb().
- Add __mbrtowc and __wcrtomb function pointers, which point to the
  current locale's conversion functions, or the __emulated versions.
- Implement mbrtowc() and wcrtomb() as calls to these function pointers.
- Make the "NONE" encoding implement mbrtowc() and wcrtomb() directly.

All of this emulation mess will be removed, together with rune support,
in FreeBSD 6.

20 years ago - Additional vm object locking in vm_object_split()
alc [Sat, 1 Nov 2003 04:54:23 +0000 (04:54 +0000)]
 - Additional vm object locking in vm_object_split()
 - New vm object locking assertions in vm_page_insert() and
   vm_object_set_writeable_dirty()

20 years agoMore trimming of specific device instances from the hardware notes to
bmah [Sat, 1 Nov 2003 04:41:32 +0000 (04:41 +0000)]
More trimming of specific device instances from the hardware notes to
reduce duplication of information from the manual pages: xl(4), cs(4),
ath(4), sbni(4), lmc(4).

20 years agoDo not bother walking mount point vnode list just to calculate
kan [Sat, 1 Nov 2003 04:36:50 +0000 (04:36 +0000)]
Do not bother walking mount point vnode list just to calculate
the number of vnodes. Use precomputed mp->mnt_nvnodelistsize
value instead.

20 years agoo check hal ABI version to catch driver-HAL mismatches
sam [Sat, 1 Nov 2003 03:37:33 +0000 (03:37 +0000)]
o check hal ABI version to catch driver-HAL mismatches
o print MAC, PHY, and radio h/w revisions at attach

20 years agoThis commit was generated by cvs2svn to compensate for changes in r121837,
sam [Sat, 1 Nov 2003 03:19:51 +0000 (03:19 +0000)]
This commit was generated by cvs2svn to compensate for changes in r121837,
which included commits to RCS files with non-trunk default branches.

20 years agoVersion 0.9.5.17:
sam [Sat, 1 Nov 2003 03:19:51 +0000 (03:19 +0000)]
Version 0.9.5.17:

o change os glue API to be compatible with Linux so hal.o's can
  be used on any system
o add ABI version to catch driver-HAL mismatches
o move hal version information from ah_osdep.c to binary component
o remove ath_hal_wait os glue component
o assign constant values to all enums to avoid potential compiler
  incompatibilities
o add support for 3Com badged cards (PCI vendor ID)
o add support for IBM mini-pci cards (PCI device ID)
o expose MAC, PHY, and radio hardware revisions
o support for big-endian platforms
o new method to set slot time in us
o bug fix for 5211: beacon timers not setup correctly
o bug fix for 5212: don't crash when handed a 5112 radio

20 years agoCopy cur's snap_time to last when refreshing statistics. Fixes problem
tjr [Sat, 1 Nov 2003 02:06:02 +0000 (02:06 +0000)]
Copy cur's snap_time to last when refreshing statistics. Fixes problem
where MB/s and tps statistics would always be zero, presumably because
they were being averaged out over the time between now and when the
system booted instead of a few seconds.

PR: 58683

20 years agoFix the logic to match the new name of the tunable.
njl [Sat, 1 Nov 2003 01:05:53 +0000 (01:05 +0000)]
Fix the logic to match the new name of the tunable.

Pointed out by: iwasaki

20 years agoTrim the hifn(4) device instances from the hardware list.
bmah [Sat, 1 Nov 2003 00:57:33 +0000 (00:57 +0000)]
Trim the hifn(4) device instances from the hardware list.

Add an entry for safe(4) crypto accelerators.

20 years agoChange the reset video option to be positive (hw.acpi.reset_video).
njl [Sat, 1 Nov 2003 00:18:29 +0000 (00:18 +0000)]
Change the reset video option to be positive (hw.acpi.reset_video).
Requested by: jhb

Initialize the real mode stack.  This is needed at least for the return
address from the lcall.
Requested by: takawata

Fix style bugs in acpi_wakecode.S
Requested by: bde

Remove the kernel option now that we have the tunable.

20 years agoRemove a bogus PCI ID entry.
scottl [Sat, 1 Nov 2003 00:13:43 +0000 (00:13 +0000)]
Remove a bogus PCI ID entry.

20 years agoWe want the length of the string, not the size of its pointer.
brooks [Sat, 1 Nov 2003 00:03:20 +0000 (00:03 +0000)]
We want the length of the string, not the size of its pointer.

20 years agoCast the NULL to a pointer type for 64 bit architectures
gshapiro [Fri, 31 Oct 2003 22:12:09 +0000 (22:12 +0000)]
Cast the NULL to a pointer type for 64 bit architectures

Submitted by: harti
MFC after: 4 days

20 years agoUse tabs not spaces.
brooks [Fri, 31 Oct 2003 21:58:15 +0000 (21:58 +0000)]
Use tabs not spaces.

Pointed out by: Xin LI <delphij at frontfree dot net>

20 years agoAdd a missing word.
simon [Fri, 31 Oct 2003 21:49:47 +0000 (21:49 +0000)]
Add a missing word.

Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us>
Reviewed by: des
MFC after: 1 week

20 years agoFor physical address regions between 0 and KERNLOAD, allow pmap_mapdev()
jhb [Fri, 31 Oct 2003 21:02:04 +0000 (21:02 +0000)]
For physical address regions between 0 and KERNLOAD, allow pmap_mapdev()
to use the direct mapped KVA at KERNBASE to service the request.  This also
allows pmap_mapdev() to be used for such addresses very early during the
boot process and might provide some small savings on KVA.

Reviewed by: peter

20 years agoLower the priority of the legacy host to pci bridge driver so that other
jhb [Fri, 31 Oct 2003 21:00:37 +0000 (21:00 +0000)]
Lower the priority of the legacy host to pci bridge driver so that other
non-ACPI host-bridge drivers can preempt this driver.

20 years ago - Revert a part of revision 1.73: Make vm_object_set_flag() an inline
alc [Fri, 31 Oct 2003 20:17:00 +0000 (20:17 +0000)]
 - Revert a part of revision 1.73: Make vm_object_set_flag() an inline
   function.  This function is so trivial that inlining reduces the size
   of the kernel.

20 years agoTemporarily disable ipfstat and ipnat in /rescue to fix world.
brooks [Fri, 31 Oct 2003 19:48:40 +0000 (19:48 +0000)]
Temporarily disable ipfstat and ipnat in /rescue to fix world.

20 years agoTemporarily disconnect ipfstat, ipnat, and ipftest to unbreak world.
brooks [Fri, 31 Oct 2003 18:54:46 +0000 (18:54 +0000)]
Temporarily disconnect ipfstat, ipnat, and ipftest to unbreak world.

Pointy hat to: brooks

20 years agoReplace the if_name and if_unit members of struct ifnet with new members
brooks [Fri, 31 Oct 2003 18:32:15 +0000 (18:32 +0000)]
Replace the if_name and if_unit members of struct ifnet with new members
if_xname, if_dname, and if_dunit. if_xname is the name of the interface
and if_dname/unit are the driver name and instance.

This change paves the way for interface renaming and enhanced pseudo
device creation and configuration symantics.

Approved By: re (in principle)
Reviewed By: njl, imp
Tested On: i386, amd64, sparc64
Obtained From: NetBSD (if_xname)

20 years ago - Take advantage of the swap pager locking: Eliminate the use of Giant
alc [Fri, 31 Oct 2003 18:32:03 +0000 (18:32 +0000)]
 - Take advantage of the swap pager locking: Eliminate the use of Giant
   from vm_object_madvise().
 - Remove excessive blank lines from vm_object_madvise().

20 years agocorrect stat to increment.
ume [Fri, 31 Oct 2003 17:51:54 +0000 (17:51 +0000)]
correct stat to increment.

Obtained from: KAME

20 years agoA grab bag of new (but overdue) release note items: dcons(4) and
bmah [Fri, 31 Oct 2003 16:58:43 +0000 (16:58 +0000)]
A grab bag of new (but overdue) release note items: dcons(4) and
friends, Pentium 4 and related workarounds, some MPSAFE network
drivers, IPv6 supports RFC 3542 (Advanced Sockets API), ifconfig(8)
staticarp, libkse default threading library for ia64.

Updates:  New DRM import.

20 years agodo not insert a dest option header (even specified by a user) that
ume [Fri, 31 Oct 2003 16:32:12 +0000 (16:32 +0000)]
do not insert a dest option header (even specified by a user) that
should be placed before a routing header, unless a routing header
really exists.

Obtained from: KAME

20 years agoAdd support for the Broadcom BCM5788 (just another entry to the PCI
wpaul [Fri, 31 Oct 2003 16:25:39 +0000 (16:25 +0000)]
Add support for the Broadcom BCM5788 (just another entry to the PCI
device ID list, probably a 5705 ASIC).

Submitted by: Marcel Prisi <marcel@virtua.ch>

20 years ago(icmp6_rip6_input) if the received data is small enough but in an
ume [Fri, 31 Oct 2003 16:21:26 +0000 (16:21 +0000)]
(icmp6_rip6_input) if the received data is small enough but in an
mbuf cluster, copy the data to a separate mbuf that do not use a
cluster.  this change will reduce the possiblity of packet loss
in the socket layer.

Obtained from: KAME

20 years agorename MLD6_* to MLD_*.
ume [Fri, 31 Oct 2003 16:07:15 +0000 (16:07 +0000)]
rename MLD6_* to MLD_*.

Obtained from: KAME

20 years agouse arc4random.
ume [Fri, 31 Oct 2003 16:06:05 +0000 (16:06 +0000)]
use arc4random.

Obtained from: KAME

20 years agoinitialize in6_tmpaddrtimer_ch.
ume [Fri, 31 Oct 2003 15:57:02 +0000 (15:57 +0000)]
initialize in6_tmpaddrtimer_ch.

Obtained from: KAME

20 years agonuku unused functions in6_nigroup_attach() and
ume [Fri, 31 Oct 2003 15:51:28 +0000 (15:51 +0000)]
nuku unused functions in6_nigroup_attach() and
in6_nigroup_detach().

Obtained from: KAME

20 years agoMFi386: revision 1.579.
nyan [Fri, 31 Oct 2003 14:54:33 +0000 (14:54 +0000)]
MFi386: revision 1.579.

20 years ago- Finish externing of r_idt in the f00f hack code.
jhb [Fri, 31 Oct 2003 14:24:28 +0000 (14:24 +0000)]
- Finish externing of r_idt in the f00f hack code.
- Miscellaneous style fixes in the f00f hack code and some nearby code.

Submitted by: bde

20 years agoMFi386: revision 1.198.
nyan [Fri, 31 Oct 2003 13:50:09 +0000 (13:50 +0000)]
MFi386: revision 1.198.

20 years agoMerged from sys/isa/syscons_isa.c revision 1.24.
nyan [Fri, 31 Oct 2003 13:48:24 +0000 (13:48 +0000)]
Merged from sys/isa/syscons_isa.c revision 1.24.

20 years agoMFi386: revision 1.578.
nyan [Fri, 31 Oct 2003 13:47:43 +0000 (13:47 +0000)]
MFi386: revision 1.578.

20 years agoMake mtree's update function update the modification time too.
phk [Fri, 31 Oct 2003 13:39:19 +0000 (13:39 +0000)]
Make mtree's update function update the modification time too.

Submitted by: Dan Nelson <dnelson@allantgroup.com>
PR: 53063

20 years agoFix breakage on ia64: PAGE_SIZE on ia64 is large enough that more than
harti [Fri, 31 Oct 2003 13:35:22 +0000 (13:35 +0000)]
Fix breakage on ia64: PAGE_SIZE on ia64 is large enough that more than
256 raw receive buffers (96 byte each) fit into one page. This breaks the
limit imposed by the usage of an uint8_t for the buffer number. Restrict
the allocation size for buffers to a maximum of 8192.

20 years agoDon't bother passing a freshly-zeroed mbstate to mbsrtowcs() etc.
tjr [Fri, 31 Oct 2003 13:29:00 +0000 (13:29 +0000)]
Don't bother passing a freshly-zeroed mbstate to mbsrtowcs() etc.
when the current implementation won't use it, anyway. Just pass NULL.
This will need to be changed when state-dependent encodings are
supported, but there's no need to take the performance hit
in the meantime.

20 years agoAttached is a small patch to ministat that separates the
phk [Fri, 31 Oct 2003 13:25:43 +0000 (13:25 +0000)]
Attached is a small patch to ministat that separates the
avg/median/stddev bars onto two lines.  Useful for datasets that
overlap.

Submitted by:    Dan Nelson <dnelson@allantgroup.com>

20 years agoRemove the code for parsing octal modes, since setmode(3) already
tobez [Fri, 31 Oct 2003 13:20:09 +0000 (13:20 +0000)]
Remove the code for parsing octal modes, since setmode(3) already
handles them.

Reviewed by: audit
MFC after: 2 weeks

20 years agoCombining "all" and "install" in one invocation is a very bad idea as
ru [Fri, 31 Oct 2003 13:15:07 +0000 (13:15 +0000)]
Combining "all" and "install" in one invocation is a very bad idea as
conditional evaluation is done only once in this case, and this may
not account for the fact that some conditionals would be evaluated
differently if "all" has already been run, like is the case with the
loader.help existance check in sys/boot/alpha/common/Makefile.common,
beforeinstall target.  This should fix Alpha snapshot builds.

20 years agoAdd a new sysctl MIB to control exclusive login.
simokawa [Fri, 31 Oct 2003 12:05:55 +0000 (12:05 +0000)]
Add a new sysctl MIB to control exclusive login.