162861 Commits

Author SHA1 Message Date
nisimura
a7153f09ae - copy intr.h from prep and make mods.
- ANSI-fy pci_machdep.c
2007-10-27 02:06:04 +00:00
nisimura
80011a5b90 off-by-one error to detect MSB of SEEPROM index. 2007-10-27 02:01:42 +00:00
ad
dde5d75e78 Fix spelling. 2007-10-27 01:23:25 +00:00
ad
f7b1ea2b3f Tweak comments. 2007-10-27 01:22:53 +00:00
xtraeme
358f1bd73f Comment out piixpcib(4) until the multiple PRs are fixed. 2007-10-26 22:42:43 +00:00
xtraeme
a2da5d58f1 xen/i386/cpu.c uses i686_mtrr_init_first if MTRR is defined, but
mtrr_i686.c wasn't built...
2007-10-26 22:33:23 +00:00
uwe
538e94b48f We don't need MIN_LWP_ALIGNMENT. 2007-10-26 22:24:51 +00:00
xtraeme
72b98e9287 Add amdpcib(4). 2007-10-26 22:21:20 +00:00
xtraeme
19affc8a1a - Add amdpcib(4) commented out.
- Comment out piixpcib(4) until the multiple PRs are fixed, this driver
  has been broken for long time in some machines.
2007-10-26 22:20:43 +00:00
xtraeme
7e8be191f1 Share pcib(4) and amdpcib(4) between i386 and amd64; one copy is enough. 2007-10-26 22:17:13 +00:00
xtraeme
66ba6aa324 ichlpcib(4) lives in x86/pci these days... 2007-10-26 22:11:45 +00:00
xtraeme
8129e894df Apply some KNF. 2007-10-26 21:58:17 +00:00
xtraeme
3338a139da - Share pchb(4) between i386 and amd64; one copy is enough for both.
- Move some of the x86 PCI devices into x86/pci/files.pci.
- Add more x86 stuff into x86/conf/files.x86.

ok joerg.
2007-10-26 21:49:50 +00:00
pavel
e6a486ad7b use .Sy for emphasis instead of .Ic 2007-10-26 21:09:49 +00:00
pavel
b2ed8dc81d Add a blurb about sendmail->postfix transition.
Do not say that one should extract etc.tgz into a temporary directory
before running postinstall, postinstall does it itself.
Mention that sysinst runs "postinstall fix".
2007-10-26 21:08:53 +00:00
christos
7d0c83db72 make _FORTIFY_SOURCE play nicely with lint 2007-10-26 19:48:14 +00:00
agc
cfd783f213 -D_FILE_OFFSET_BITS=64 is not needed on NetBSD.
Install the test harness into the correct location.
2007-10-26 19:04:21 +00:00
agc
a1b018359f -D_FILE_OFFSET_BITS=64 is not needed on NetBSD 2007-10-26 19:03:17 +00:00
agc
d7728ae0d3 Update to version 20071025
Pay closer attention to the TSIH value that is assigned by the target -
rather than a simple (session id + 1) value, which cycles after 16 sessions
are used, use a central counter, and increment that whenever a TSIH is
apportioned. This fixes some problems for me with multiple targets being
ignored, and only the first target being used. Tested with the Microsoft
initiator, and the embryonic NetBSD initiator.

Use more enumerated types, rather than cpp definitions.

Use enumerated types also in preference to magic numbers.

In the iSCSI test harness, use the -t argument to specify a disk target
exported by the NetBSD iSCSI target. This allows us to test for the
situation outlined above.

Add my copyright to the test harness - there's no Intel code left anymore.

Modify the way initiator login and logout information is presented to the
user. This is only of concern to people who use this with the target in
non-detached (non-daemon) mode.

Get rid of the MODE_SENSE_10 and MODE_SELECT_10 cases in the disk switch,
since they do not return responses in the correct format yet.
2007-10-26 18:36:45 +00:00
agc
06e992a132 Correct the name of the AIX 5.3 initiator reporter (where known) 2007-10-26 18:19:36 +00:00
pooka
87ffdd1649 RUMUSEROBJDIR -> RUMPUSEROBJDIR (those cold-blooded old times ...) 2007-10-26 18:03:26 +00:00
pooka
6640f4d32a It's non-trivial to say that "no, we don't have cpu counter on this
arch (rump)", so emulate it.  But this is suboptimal.  The crux of
the problem seems to be that types.h contains both information on
the machine architecture (which we want) as well as other defines
such as __HAVE_CPU_COUNTER (which we don't want).
2007-10-26 17:59:38 +00:00
pooka
ff9a260335 few stubs 2007-10-26 17:56:24 +00:00
pooka
bf494d7f8d more carefully emulate vget() and vrecycle() 2007-10-26 17:55:43 +00:00
hira
d13505e0de Add missing -e option. From OpenBSD. 2007-10-26 17:45:26 +00:00
pooka
90f8810031 In threading where available. 2007-10-26 17:36:23 +00:00
pooka
edb40ac9bf Add some very initial support for a threading worker model as an
alternative to the (vastly superior ;) continuation model.  This
is very preliminary stuff and not compiled by default (which it
even won't do without some other patches I cannot commit yet).

The raison d'commit of the patch is a snippet which ensures proper
in-order dispatching of all operations, including those which don't
require a response.  Previously many of them would be dispatched
simultaneosly, e.g. fsync and reclaim on the same node, which
obviously isn't all that nice for correct operation.
2007-10-26 17:35:01 +00:00
ad
630552ea77 ras_sync: deal with spurious wakeup and add comments. 2007-10-26 17:28:37 +00:00
pavel
d35530e427 now when trap 0 is not used, we need to remove the temporary directiry
at the end. PR bin/37223.
2007-10-26 17:26:25 +00:00
pooka
944ce6a1a8 dump pid/lwp of caller 2007-10-26 17:24:45 +00:00
pooka
f977a9f9b5 Read/write can reuse message memory if operating uncached. This
will change evetually, but for now just appease a KASSERT by
resetting the message header to 0 after each loop.
2007-10-26 16:54:50 +00:00
hira
5952a904ed - Add -0 and -V to pax_usage().
- Add -k to tar_usage().
2007-10-26 16:38:12 +00:00
hira
82c330f342 Remove extra space from -T option in SYNOPSIS. 2007-10-26 16:35:59 +00:00
hira
e2c7784538 Sync SYNOPSIS with usage() (correct location of -P). 2007-10-26 16:31:16 +00:00
hira
c710611df5 Add -N to usage. 2007-10-26 16:21:25 +00:00
nisimura
eae2367539 make sure to have vtophys conversion to feed memory ptr to HW,
and some consistency among them.
2007-10-26 14:30:03 +00:00
nisimura
9c0670836c add missing rxstore[] allocation. 2007-10-26 13:56:18 +00:00
pooka
cb50a739c3 mmap stacks, makes it possible to align them 2007-10-26 13:51:14 +00:00
nisimura
16ea8193e3 sprinkle copyright notice. 2007-10-26 13:32:57 +00:00
joerg
930e1f6e1d Match delay/DELAY on x86 with delay(9). It takes an unsigned int as
argument. Use this and replace the inline assembly (mul + div using the
64bit intermediate result) with normal 32bit multiplication and
division. The compiler can turn the division into a multiplication and
shift, making it even cheaper then the original assembly. For extreme
long delays, just use 64bit arithmetic.
2007-10-26 13:24:39 +00:00
he
c71c45f606 After the machine's bus.h #ifdef was updated, this one needs a tweak as well. 2007-10-26 11:07:32 +00:00
pooka
4f8627af5f define _RUMPKERNEL 2007-10-26 10:44:27 +00:00
peter
f27028f22e Call callout_init before callout_stop. 2007-10-26 10:39:40 +00:00
he
27b6c6515d Correct the symbol used for multiple include protection, we can't
use _SYS_BUS_H_ here and expect good results when <sys/bus.h> is
included.
2007-10-26 09:15:54 +00:00
garbled
670c8a4f93 Fix the ranges_bitmap function so it correctly finds the various ranges
on OFW, and passes them on to ofwoea_batmap correctly.  With this fix,
ofppc now properly initializes all of it's batmappings.

Kept the macppc specific override of the bitmap, but surrounded it with
an #ifdef macppc.  It would probably be worth testing macppc without this
ifdef to see if it works there as well.
2007-10-26 08:41:24 +00:00
nisimura
b9c06c9fc0 add one more 10/100 Ethernet PCI NIC and fix some others. Needs
innovation to handle multiple device configuration with match/attach/init
sequence like NB auto-configuration machine.
2007-10-26 01:16:27 +00:00
garbled
9e99088c7c Add code to properly detect the interrupt mapping on the PegasosII, and any
other OFW machine that fails our first two methods.
2007-10-26 00:34:53 +00:00
wiz
c06a095415 Various improvements: typo fixes, wording, formatting. 2007-10-25 23:14:41 +00:00
he
555e1d5a74 Remove a superfluous test, wcrtomb() cannot return (size_t)-2.
Pointed out by Aleksey Cheusov.
2007-10-25 22:22:41 +00:00
jdc
c4eef94666 Only resize curscr, __virtscr and stdscr when the screen is resized.
Note the behaviour of sub-windows when the parent window is resized.

Fixes PR pkg/37129.
2007-10-25 20:42:07 +00:00