]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoProperly advance "x/y/z" form slash-pointers in some rare cases
ache [Wed, 24 Dec 2003 10:16:46 +0000 (10:16 +0000)]
Properly advance "x/y/z" form slash-pointers in some rare cases

PR:             60539

20 years agoMake systat -net aware of compressed time_wait sockets.
silby [Wed, 24 Dec 2003 08:54:53 +0000 (08:54 +0000)]
Make systat -net aware of compressed time_wait sockets.

20 years agoReturn AE_OK for stub functions returning ACPI_STATUS, not NULL
peter [Wed, 24 Dec 2003 05:26:26 +0000 (05:26 +0000)]
Return AE_OK for stub functions returning ACPI_STATUS, not NULL

20 years agoFix 0 / NULL mixup (this module isn't in LINT!)
peter [Wed, 24 Dec 2003 05:24:24 +0000 (05:24 +0000)]
Fix 0 / NULL mixup  (this module isn't in LINT!)

20 years agoFixed breakage of a check for boolean true by misusing NULL in rev.1.407.
bde [Wed, 24 Dec 2003 04:11:10 +0000 (04:11 +0000)]
Fixed breakage of a check for boolean true by misusing NULL in rev.1.407.
This became fatal when the type of NULL was changed recently.

20 years agoMove the acpi module down a directory. This will allow us to import
njl [Wed, 24 Dec 2003 03:49:38 +0000 (03:49 +0000)]
Move the acpi module down a directory.  This will allow us to import
other ACPI-specific drivers into sys/modules/acpi/.

20 years agoMinor whitespace changes to conform better to stlye(9) and reduce diffs
imp [Wed, 24 Dec 2003 02:01:22 +0000 (02:01 +0000)]
Minor whitespace changes to conform better to stlye(9) and reduce diffs
with uncommitted changes I have in p4.

20 years agoGC the unused <machine/kse.h> file.
peter [Wed, 24 Dec 2003 00:51:30 +0000 (00:51 +0000)]
GC the unused <machine/kse.h> file.

20 years agoGC unused 'syshide' override to /dev/null. This was here to disable
peter [Wed, 24 Dec 2003 00:32:07 +0000 (00:32 +0000)]
GC unused 'syshide' override to /dev/null.  This was here to disable
the output of the namespc column.  Its functionality was removed some time
ago, but the overrides and the namespc column remained.

20 years agoRegen (should be NOP except for rcsid)
peter [Wed, 24 Dec 2003 00:26:34 +0000 (00:26 +0000)]
Regen (should be NOP except for rcsid)

20 years agoGC unused namespc column and un-wrap some longer lines that now fit.
peter [Wed, 24 Dec 2003 00:26:09 +0000 (00:26 +0000)]
GC unused namespc column and un-wrap some longer lines that now fit.

20 years agoOops, remove references to namespc column in comment (I'm not going to
peter [Wed, 24 Dec 2003 00:17:24 +0000 (00:17 +0000)]
Oops, remove references to namespc column in comment (I'm not going to
bother regenerating after this)

20 years agoRegen. (This should have been a NOP except it hasn't been regenerated
peter [Wed, 24 Dec 2003 00:15:20 +0000 (00:15 +0000)]
Regen.  (This should have been a NOP except it hasn't been regenerated
after makesyscalls.sh changes and the last few syscall.master changes, and
there have been some tree-sweeps that have touched generated files).

20 years agoGC namespc column and unwrap long lines that now fit.
peter [Wed, 24 Dec 2003 00:14:08 +0000 (00:14 +0000)]
GC namespc column and unwrap long lines that now fit.

20 years agoRegen. This should have been a NOP, but its not been regenerated for
peter [Wed, 24 Dec 2003 00:02:08 +0000 (00:02 +0000)]
Regen.  This should have been a NOP, but its not been regenerated for
ages and is missing the changes from the last few makesyscalls.sh
revisions.

20 years agoGC OBE namespc column and un-wrap longer lines that now fit
peter [Wed, 24 Dec 2003 00:00:47 +0000 (00:00 +0000)]
GC OBE namespc column and un-wrap longer lines that now fit

20 years agoFix locking broken by recent _CID changes. Always be sure to unlock
njl [Tue, 23 Dec 2003 18:47:31 +0000 (18:47 +0000)]
Fix locking broken by recent _CID changes.  Always be sure to unlock
in the error case.

20 years agoBack out previous commit due to incorrect content.
trhodes [Tue, 23 Dec 2003 18:42:55 +0000 (18:42 +0000)]
Back out previous commit due to incorrect content.

Noticed by: wollman

20 years agoSet up the interrupt earlier in ndis_attach(), because calling the
wpaul [Tue, 23 Dec 2003 18:41:34 +0000 (18:41 +0000)]
Set up the interrupt earlier in ndis_attach(), because calling the
driver's initfunc may cause an interrupt to be generated. This avoids
the occasional 'stray irqXXX' messages on load.

20 years agoCorrect the definitions for NDIS_80211_NET_INFRA_IBSS and
wpaul [Tue, 23 Dec 2003 18:31:04 +0000 (18:31 +0000)]
Correct the definitions for NDIS_80211_NET_INFRA_IBSS and
NDIS_80211_NET_INFRA_BSS: I accidentally reversed them during
transcription from the Microsoft headers. Note that the
driver will default to BSS mode, and you need to specify
'mediaopt adhoc' to get it into IBSS mode.

20 years agoUpdate to use the new package routines instead of rolling our own
njl [Tue, 23 Dec 2003 18:27:35 +0000 (18:27 +0000)]
Update to use the new package routines instead of rolling our own
macros.

20 years agoRemove the device_t parameter from package routines that only used it to
njl [Tue, 23 Dec 2003 18:26:53 +0000 (18:26 +0000)]
Remove the device_t parameter from package routines that only used it to
print an error message.  Update all callers of the package routines.

20 years agoCorrect a typo in the text.
wpaul [Tue, 23 Dec 2003 18:09:59 +0000 (18:09 +0000)]
Correct a typo in the text.
Remove BUGS section since the bug it describes has been fixed.
Spell Matt Dodd's name correctly. (Oops.)

20 years agos/disklabel/bsdlabel
trhodes [Tue, 23 Dec 2003 17:35:44 +0000 (17:35 +0000)]
s/disklabel/bsdlabel

Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com> (via -doc)

20 years agoDocument many of the missing posix.1b options.
trhodes [Tue, 23 Dec 2003 17:29:35 +0000 (17:29 +0000)]
Document many of the missing posix.1b options.

PR: 20528
Submitted by: bms (original version)
Requested by: mike (awhile ago)

20 years agoMake the NDIS driver depend on the wlan module now that it has
wpaul [Tue, 23 Dec 2003 16:47:01 +0000 (16:47 +0000)]
Make the NDIS driver depend on the wlan module now that it has
some 802.11 support.

20 years agoAdd the MegaRAID 320-4X cards to the supported device list.
trhodes [Tue, 23 Dec 2003 16:22:34 +0000 (16:22 +0000)]
Add the MegaRAID 320-4X cards to the supported device list.

Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com> (via -doc)

20 years agoFix a case of undefined behavior due to overlapping buf objects in
schweikh [Tue, 23 Dec 2003 15:01:12 +0000 (15:01 +0000)]
Fix a case of undefined behavior due to overlapping buf objects in
snprintf (buf, size, fmt, buf, etc). This only works by chance with our
libc, but fails (with a truncated string) on e.g. glibc.

Okayed by: sobomax
MFC after: 1 week

20 years agoFix a few more places where NULL was used instead of 0.
se [Tue, 23 Dec 2003 14:38:42 +0000 (14:38 +0000)]
Fix a few more places where NULL was used instead of 0.

20 years agoI didn't notice it right away, but check the right length too.
ru [Tue, 23 Dec 2003 14:08:50 +0000 (14:08 +0000)]
I didn't notice it right away, but check the right length too.

20 years agoI asked Bosko Milekic for help with 'peak' reporting, and he suggested
alfred [Tue, 23 Dec 2003 14:06:24 +0000 (14:06 +0000)]
I asked Bosko Milekic for help with 'peak' reporting, and he suggested
using the old 'cached' value but reporting it as 'cached'.

I've decided to report the 'cached' as 'peak', why?  Well because
it is the peak, the peak of what is actually allocated.  'cached'
doesn't make sense to me as a user.

20 years agoIntroduce mp_maxcpus which can be used by libkvm utils to find out
alfred [Tue, 23 Dec 2003 13:54:16 +0000 (13:54 +0000)]
Introduce mp_maxcpus which can be used by libkvm utils to find out
how many CPUs the system was compiled for.
Export the variable via a sysctl node 'kern.smp.maxcpus' as well.

20 years agoFix a problem introduced in revision 1.84: m_pullup() does not
ru [Tue, 23 Dec 2003 13:33:23 +0000 (13:33 +0000)]
Fix a problem introduced in revision 1.84: m_pullup() does not
necessarily return the same mbuf chain so we need to recompute
mtod() consumers after pulling up.

20 years agoRestore old netstat -m output.
alfred [Tue, 23 Dec 2003 13:24:03 +0000 (13:24 +0000)]
Restore old netstat -m output.
A new flag '-c' can be used to ask for the cache stats.

20 years agoPrevent withering of the provider we're orphaning from happening until
phk [Tue, 23 Dec 2003 11:37:05 +0000 (11:37 +0000)]
Prevent withering of the provider we're orphaning from happening until
we do it ourselves.

Nailed by: Simon Heath <heath@cng.fr>

20 years agoCatch a few places where NULL (pointer) was used where 0 (integer) was
ume [Tue, 23 Dec 2003 11:01:17 +0000 (11:01 +0000)]
Catch a few places where NULL (pointer) was used where 0 (integer) was
expected (fix build).

20 years ago/etc/rc.serial -> /etc/rc.d/serial.
trhodes [Tue, 23 Dec 2003 07:16:38 +0000 (07:16 +0000)]
/etc/rc.serial -> /etc/rc.d/serial.

20 years agoRe-do the handling of ndis_buffers. The NDIS_BUFFER structure is
wpaul [Tue, 23 Dec 2003 04:08:22 +0000 (04:08 +0000)]
Re-do the handling of ndis_buffers. The NDIS_BUFFER structure is
supposed to be opaque to the driver, however it is exposed through
several macros which expect certain behavior. In my original
implementation, I used the mappedsystemva member of the structure
to hold a pointer to the buffer and bytecount to hold the length.
It turns out you must use the startva pointer to point to the
page containing the start of the buffer and set byteoffset to
the offset within the page where the buffer starts. So, for a buffer
with address 'baseva,' startva is baseva & ~(PAGE_SIZE -1) and
byteoffset is baseva & (PAGE_SIZE -1). We have to maintain this
convention everywhere that ndis_buffers are used.

Fortunately, Microsoft defines some macros for initializing and
manipulating NDIS_BUFFER structures in ntddk.h. I adapted some
of them for use here and used them where appropriate.

This fixes the discrepancy I observed between how RX'ed packet sizes
were being reported in the Broadcom wireless driver and the sample
ethernet drivers that I've tested. This should also help the
Intel Centrino wireless driver work.

Also try to properly initialize the 802.11 BSS and IBSS channels.
(Sadly, the channel value is meaningless since there's no way
in the existing NDIS API to get/set the channel, but this should
take care of any 'invalid channel (NULL)' messages printed on
the console.

20 years agoRegen (should be a NOP except for rcsid)
peter [Tue, 23 Dec 2003 04:07:47 +0000 (04:07 +0000)]
Regen (should be a NOP except for rcsid)

20 years agoGC unused namespc column.
peter [Tue, 23 Dec 2003 04:07:22 +0000 (04:07 +0000)]
GC unused namespc column.

20 years agoRegen (should be a NOP except for rcsid changes)
peter [Tue, 23 Dec 2003 03:55:06 +0000 (03:55 +0000)]
Regen (should be a NOP except for rcsid changes)

20 years agoGC unused third namespace column.
peter [Tue, 23 Dec 2003 03:54:40 +0000 (03:54 +0000)]
GC unused third namespace column.

20 years agoGC unused namespace column. Unwrap some long lines that now fit.
peter [Tue, 23 Dec 2003 03:53:21 +0000 (03:53 +0000)]
GC unused namespace column.  Unwrap some long lines that now fit.

20 years agoRegen - this should be essentially a NOP, except for rcsid changes.
peter [Tue, 23 Dec 2003 03:52:14 +0000 (03:52 +0000)]
Regen - this should be essentially a NOP, except for rcsid changes.

20 years agoRemove namespc column and attempt to un-fold some of the longer lines
peter [Tue, 23 Dec 2003 03:51:36 +0000 (03:51 +0000)]
Remove namespc column and attempt to un-fold some of the longer lines
that now fit.

20 years agoRemove the namespace column from the syscalls tables. We don't actually
peter [Tue, 23 Dec 2003 03:50:43 +0000 (03:50 +0000)]
Remove the namespace column from the syscalls tables.  We don't actually
use it, if we ever did.  They have been been VERY poorly maintained for
some time, possibly because they were a NOP.  FWIW, This brings our table
formats back closer to the other *BSD's.

20 years agoRegen
peter [Tue, 23 Dec 2003 03:21:49 +0000 (03:21 +0000)]
Regen

20 years agofreebsd32_fstat(2) is now MPSAFE
peter [Tue, 23 Dec 2003 03:21:06 +0000 (03:21 +0000)]
freebsd32_fstat(2) is now MPSAFE

20 years agoRather than screw around with the (unsafe) stackgap, call vn_stat/fo_stat
peter [Tue, 23 Dec 2003 03:20:49 +0000 (03:20 +0000)]
Rather than screw around with the (unsafe) stackgap, call vn_stat/fo_stat
directly for stat/fstat/lstat syscall emulation.  It turns out not only
safer, but the code is smaller this way too.

20 years agoRegen
peter [Tue, 23 Dec 2003 02:48:58 +0000 (02:48 +0000)]
Regen

20 years agoEliminate stackgap usage for the (woefully incomplete) path translations
peter [Tue, 23 Dec 2003 02:48:11 +0000 (02:48 +0000)]
Eliminate stackgap usage for the (woefully incomplete) path translations
since it isn't needed here anymore.
Use standard open(2)/access(2) and chflags(2) syscalls now.

20 years agoForced commit; previous commit also included:
peter [Tue, 23 Dec 2003 02:45:24 +0000 (02:45 +0000)]
Forced commit; previous commit also included:
- eliminate a malloc()/snprintf()/free() in the native exec(2) case and
  in the easy emulation environments.
- Allow the brand emul_path (ie: /compat/xxx) to be NULL rather than
  needing it to be an empty string that is always referenced.

20 years agoAdd an additional field to the elf brandinfo structure to support
peter [Tue, 23 Dec 2003 02:42:39 +0000 (02:42 +0000)]
Add an additional field to the elf brandinfo structure to support
quicker exec-time replacement of the elf interpreter on an emulation
environment where an entire /compat/* tree isn't really warranted.

20 years agoAdd a reminder note about removing the amd64 test here once the gcc33 port
peter [Tue, 23 Dec 2003 02:38:55 +0000 (02:38 +0000)]
Add a reminder note about removing the amd64 test here once the gcc33 port
has been updated.

20 years agoCatch a few places where NULL (pointer) was used where 0 (integer) was
peter [Tue, 23 Dec 2003 02:36:43 +0000 (02:36 +0000)]
Catch a few places where NULL (pointer) was used where 0 (integer) was
expected.

20 years agoDon peril sensitive sunglasses and set NULL to an actual pointer type,
peter [Tue, 23 Dec 2003 02:34:25 +0000 (02:34 +0000)]
Don peril sensitive sunglasses and set NULL to an actual pointer type,
but *only* for the kernel.  We can do this because the kernel is not a
standard C application environment.  This would have stopped the recent
mtx_* arg NULL/MTX_DEF mixups from going unnoticed for so long.

20 years agoDon't use NULL (pointer) when we're testing for a count of 0 (integer).
peter [Tue, 23 Dec 2003 02:29:46 +0000 (02:29 +0000)]
Don't use NULL (pointer) when we're testing for a count of 0 (integer).

20 years agoDon't use NULL (pointer) when we mean 0 (integer) for the number of ticks
peter [Tue, 23 Dec 2003 02:28:42 +0000 (02:28 +0000)]
Don't use NULL (pointer) when we mean 0 (integer) for the number of ticks
in msleep.

20 years agoRemove the Minolta item, it already exists in the uscanner(4) manual page.
trhodes [Mon, 22 Dec 2003 23:20:58 +0000 (23:20 +0000)]
Remove the Minolta item, it already exists in the uscanner(4) manual page.

Noticed by: simon

20 years agoUpdate the supported device list.
trhodes [Mon, 22 Dec 2003 23:01:25 +0000 (23:01 +0000)]
Update the supported device list.

Discussed with: sanpei

20 years agoFix a couple of stylistic issues
emax [Mon, 22 Dec 2003 22:50:21 +0000 (22:50 +0000)]
Fix a couple of stylistic issues

Reviewed by: imp (mentor), ru
Approved by: imp (mentor)

20 years agoAdd Epson Perfection 1250 and Minolta 5400 to the list of supported
simon [Mon, 22 Dec 2003 20:23:43 +0000 (20:23 +0000)]
Add Epson Perfection 1250 and Minolta 5400 to the list of supported
devices.

20 years agoresort device list
sanpei [Mon, 22 Dec 2003 19:58:27 +0000 (19:58 +0000)]
resort device list

20 years agoFixed incomplete initialization in some ohci controllers with
shiba [Mon, 22 Dec 2003 15:40:10 +0000 (15:40 +0000)]
Fixed incomplete initialization in some ohci controllers with
broken BIOS. Separate ohci_controller_init() from ohci_init(),
and call ohci_controller_init() at resume process once more.

Discussed on [bsd-nomads:16737] - [bsd-nomads:16746].

Submitted by Hiroyuki Aizu <eyes@navi.org> [bsd-nomads:16741]

20 years agoPut the em and vx drivers back into the kernel so that the mfsroot stops
scottl [Mon, 22 Dec 2003 15:19:45 +0000 (15:19 +0000)]
Put the em and vx drivers back into the kernel so that the mfsroot stops
overflowing.  We are one again on the brink of the floppies having major
overflow problems.

20 years agoEnable support for DEVICE_SUSPEND, DEVICE_RESUME and DEVICE_SHUTDOWN
shiba [Mon, 22 Dec 2003 15:18:46 +0000 (15:18 +0000)]
Enable support for DEVICE_SUSPEND, DEVICE_RESUME and DEVICE_SHUTDOWN
methods for USB devices in the same way of uhci driver. But this change
is not complete because some ohci controlers are not initialized completely.
So "kernel: usb0: 1 scheduling overruns" interrupt will generate many times.

This change will be same one in PR kern/60099.

Discussed on [bsd-nomads:16737] - [bsd-nomads:16746].

20 years agoMake oldsize in smbfs_getattr() 64 bits wide instead of 32 to avoid
tjr [Mon, 22 Dec 2003 12:33:31 +0000 (12:33 +0000)]
Make oldsize in smbfs_getattr() 64 bits wide instead of 32 to avoid
truncation when files are larger than 4GB.

20 years agoSome minor touchups:
wpaul [Mon, 22 Dec 2003 10:22:57 +0000 (10:22 +0000)]
Some minor touchups:

In NdisQueryBuffer() and NdisQueryBufferSafe(), the vaddr argument is
optional, so test it before trying to dereference it.

Also correct NdisGetFirstBufferFromPacket()/NdisGetFirstBufferFromPacketSafe():
we need to use nb_mappedsystemva from the buffer, not nb_systemva.

20 years agoNow that I finally have power back, implement a couple more NDIS API
wpaul [Mon, 22 Dec 2003 08:24:32 +0000 (08:24 +0000)]
Now that I finally have power back, implement a couple more NDIS API
routines: NdisUnchainBufferAtBack(), NdisGetFirstBufferFromPacketSafe()
and NdisGetFirstBufferFromPacket(). This should bring us a little
closer to getting the Intel centrino wireless NIC to work.

Note: I have not actually tested these additions since I don't
have a driver that calls them, however they're pretty simple, and
one of them is taken pretty much directly from the Windows ndis.h
header file, so I'm fairly confident they work, but disclaimers
apply.

20 years agoFix typo in ENE CB710 description. It isn't a 720.
imp [Mon, 22 Dec 2003 06:09:35 +0000 (06:09 +0000)]
Fix typo in ENE CB710 description.  It isn't a 720.

20 years agoAdd more bridges, based on reading the pccbb.c file.
imp [Mon, 22 Dec 2003 06:08:14 +0000 (06:08 +0000)]
Add more bridges, based on reading the pccbb.c file.

20 years agoFix ASM_OUTPUT_LABELREF to deal with TSL model prefixes GCC
kan [Mon, 22 Dec 2003 04:27:17 +0000 (04:27 +0000)]
Fix ASM_OUTPUT_LABELREF to deal with TSL model prefixes GCC
started to use internally. They need to be stripped before
the name of the label or symbol is printed.

20 years agofixed a bug that 'ip6addrctl delete' command does not work
suz [Mon, 22 Dec 2003 03:13:50 +0000 (03:13 +0000)]
fixed a bug that 'ip6addrctl delete' command does not work

obtained from: KAME

20 years agofixed a bug that IPv6 routing header does not work properly if specified from userlan...
suz [Mon, 22 Dec 2003 03:12:13 +0000 (03:12 +0000)]
fixed a bug that IPv6 routing header does not work properly if specified from userland application

reviewed by: ume

20 years ago - Create an unmapped guard page to trap access to vm_page_array[-1].
alc [Mon, 22 Dec 2003 02:04:08 +0000 (02:04 +0000)]
 - Create an unmapped guard page to trap access to vm_page_array[-1].
   This guard page would have trapped the problems with the MFC of the PAE
   support to RELENG_4 at an earlier point in the sequence of events.

Submitted by: tegge

20 years ago - Significantly reduce the number of preallocated pv entries in
alc [Mon, 22 Dec 2003 01:01:32 +0000 (01:01 +0000)]
 - Significantly reduce the number of preallocated pv entries in
   pmap_init().  Such a large preallocation is unnecessary and wastes
   nearly eight megabytes of kernel virtual address space per gigabyte
   of managed physical memory.
 - Increase UMA_BOOT_PAGES by two.  This enables the removal of
   pmap_pv_allocf().  (Note: this function was only used during
   initialization, specifically, after pmap_init() but before
   pmap_init2().  During pmap_init2(), a new allocator is installed.)

20 years agoExplain what all this is about.
grog [Mon, 22 Dec 2003 00:01:53 +0000 (00:01 +0000)]
Explain what all this is about.

20 years agoTeach the Fixit environment how to deal with a dynamic root. Symlink
scottl [Sun, 21 Dec 2003 17:16:44 +0000 (17:16 +0000)]
Teach the Fixit environment how to deal with a dynamic root.  Symlink
/libexec to /mnt2/libexec, and execute /mnt2/rescue/ldconfig to add
the /mnt2/lib and /mnt2/usr/lib library directories.  Thanks to John Baldwin
for working to track this down.

Submitted by: jhb

20 years agoFix a typo.
rushani [Sun, 21 Dec 2003 14:30:26 +0000 (14:30 +0000)]
Fix a typo.

Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
PR: docs/60469

20 years agoCorrect URI to USB specs.
rushani [Sun, 21 Dec 2003 14:30:23 +0000 (14:30 +0000)]
Correct URI to USB specs.

Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
PR: docs/60457

20 years ago - Cleanup some garbage left by KSE. There is still much garbage left to be
jeff [Sun, 21 Dec 2003 13:47:42 +0000 (13:47 +0000)]
 - Cleanup some garbage left by KSE.  There is still much garbage left to be
   removed, see the 110 instances of "XXXKSE" in src/sys for examples.

20 years ago- Add ':' as a separator between the OpenFirmware device space and
grehan [Sun, 21 Dec 2003 12:38:25 +0000 (12:38 +0000)]
- Add ':' as a separator between the OpenFirmware device space and
the file path. Commonly used on Macs e.g. "hd:9".
- Update the ofw_setcurrdev routine to match libstand setenv prototype

Not objected to by: sparc64

20 years agoMake __elfN(ofw_loadfile) match parameter declaration for file_format
grehan [Sun, 21 Dec 2003 12:27:01 +0000 (12:27 +0000)]
Make __elfN(ofw_loadfile) match parameter declaration for file_format
in boot/common/bootstrap.h. Having a 32-bit size when a 64-bit param
is declared wreaks havoc on PPC.

Not objected to by: sparc64

20 years agoOnly print out an error if returned data size is < 0. A value of 0
grehan [Sun, 21 Dec 2003 12:19:38 +0000 (12:19 +0000)]
Only print out an error if returned data size is < 0. A value of 0
happens almost every time at the end of a file when using NFS.

No objection by: sparc64

20 years agoUse daddr_t instead of u_long for byte offset in strategy
grehan [Sun, 21 Dec 2003 12:16:58 +0000 (12:16 +0000)]
Use daddr_t instead of u_long for byte offset in strategy
routine to avoid >4G truncation on 32-bit systems.

no objection by: sparc64

20 years ago- use correct pointer arithmetic in heapsize calculation
grehan [Sun, 21 Dec 2003 12:11:31 +0000 (12:11 +0000)]
- use correct pointer arithmetic in heapsize calculation
- handle multiple Ofw memory regions when determining mem size
- allow currdev to be set as a loader command-line option.
  parse() is used to allow future options to be processed.

20 years ago - Correct an error in mincore(2) that has existed since its introduction:
alc [Sun, 21 Dec 2003 06:03:40 +0000 (06:03 +0000)]
 - Correct an error in mincore(2) that has existed since its introduction:
   mincore(2) should check that the page is valid, not just allocated.
   Otherwise, it can return a false positive for a page that is not yet
   resident because it is being read from disk.

20 years ago - Add new FTP mirror site in Turkey (first/only one).
kensmith [Sun, 21 Dec 2003 05:42:00 +0000 (05:42 +0000)]
- Add new FTP mirror site in Turkey (first/only one).

Approved by: murray (re@)

20 years agoBig round of updates:
wpaul [Sun, 21 Dec 2003 00:00:08 +0000 (00:00 +0000)]
Big round of updates:

- Make ndis_get_info()/ndis_set_info() sleep on the setdone/getdone
  routines if they get back NDIS_STATUS_PENDING.

- Add a bunch of net80211 support so that 802.11 cards can be twiddled
  with ifconfig. This still needs more work and is not guaranteed to
  work for everyone. It works on my 802.11b/g card anyway.

The problem here is Microsoft doesn't provide a good way to a) learn
all the rates that a card supports (if it has more than 8, you're
kinda hosed) and b) doesn't provide a good way to distinguish between
802.11b, 802.11b/g an 802.11a/b/g cards, so you sort of have to guess.

Setting the SSID and switching between infrastructure/adhoc modes
should work. WEP still needs to be implemented. I can't find any API
for getting/setting the channel other than the registry/sysctl keys.

20 years ago - Make our transfer decisions based on load and not transferable load. A
jeff [Sat, 20 Dec 2003 22:35:20 +0000 (22:35 +0000)]
 - Make our transfer decisions based on load and not transferable load.  A
   cpu could have been bogged down with non-transferable load and still not
   migrated a new thread to an idle cpu.  This required some benchmarking and
   tuning to get right as the comment above it suggests.

20 years ago - Enable ithread migration on x86. This is done to work around a bug in the
jeff [Sat, 20 Dec 2003 20:36:19 +0000 (20:36 +0000)]
 - Enable ithread migration on x86.  This is done to work around a bug in the
   IO APIC on Xeons that prevents round-robin interrupt assignment from
   working.

20 years agoSince we have additional kernel virtual address space, allow the buffer
alc [Sat, 20 Dec 2003 20:03:10 +0000 (20:03 +0000)]
Since we have additional kernel virtual address space, allow the buffer
cache to grow to 400M bytes.

20 years agoRemove a variable that has been initialized but otherwise unused since
alc [Sat, 20 Dec 2003 19:46:21 +0000 (19:46 +0000)]
Remove a variable that has been initialized but otherwise unused since
revision 1.315.

20 years agoo move mutex init/destroy logic to the module load/unload hooks;
sam [Sat, 20 Dec 2003 18:32:48 +0000 (18:32 +0000)]
o move mutex init/destroy logic to the module load/unload hooks;
  otherwise they are initialized twice when the code is statically
  configured in the kernel because the module load method gets
  invoked before the user application calls ip_mrouter_init
o add a mutex to synchronize the module init/done operations; this
  sort of was done using the value of ip_mroute but X_ip_mrouter_done
  sets it to NULL very early on which can lead to a race against
  ip_mrouter_init--using the additional mutex means this is safe now
o don't call ip_mrouter_reset from ip_mrouter_init; this now happens
  once at module load and X_ip_mrouter_done does the appropriate
  cleanup work to insure the data structures are in a consistent
  state so that a subsequent init operation inherits good state

Reviewed by: juli

20 years agoMake the multiple include guard correct for this file location.
obrien [Sat, 20 Dec 2003 17:12:25 +0000 (17:12 +0000)]
Make the multiple include guard correct for this file location.
This fixes a bug where the guard conflicted with machine/ioctl_*.

20 years agoDo an update mount operation to mount the mfsroot as read/write rather
jhb [Sat, 20 Dec 2003 16:34:45 +0000 (16:34 +0000)]
Do an update mount operation to mount the mfsroot as read/write rather
than read/only when sysinstall is running as init.  This fixes several
install issues.

20 years ago - In kseq_transfer() return if smp has not been started.
jeff [Sat, 20 Dec 2003 14:03:14 +0000 (14:03 +0000)]
 - In kseq_transfer() return if smp has not been started.
 - In sched_add(), do the idle check prior to the transfer check so that we
   don't try to transfer load from an idle cpu.  This fixes panics caused by
   IPIs on UP machines running SMP kernels.

Reported/Debugged by: seanc

20 years ago - Running interactive tasks with the minimum time-slice is fine for vi and
jeff [Sat, 20 Dec 2003 12:54:35 +0000 (12:54 +0000)]
 - Running interactive tasks with the minimum time-slice is fine for vi and
   sh, but not so great for mozilla, X, etc.  Add a fixed define for the slice
   size granted to interactive KSEs.

20 years agoAdd map for CP1131
ache [Sat, 20 Dec 2003 11:20:05 +0000 (11:20 +0000)]
Add map for CP1131

Submitted by:   Yury Tarasievich <grog@grsu.by>

20 years agoAdd be_BY.*
ache [Sat, 20 Dec 2003 11:18:43 +0000 (11:18 +0000)]
Add be_BY.*

Submitted by:   Yury Tarasievich <grog@grsu.by>