krw [Tue, 8 Jul 2008 01:46:24 +0000 (01:46 +0000)]
Update 2300 firmware from 3.01.20 (Dec 19, 2002) to 3.03.19 (Nov
30, 2005). From mjacob via FreeBSD. No known code dependency, and
prepares ground for major isp update.
Tested on a 2312 by dlg@.
ok dlg@ deraadt@
brad [Mon, 7 Jul 2008 23:41:58 +0000 (23:41 +0000)]
Comment correction, actually -> actual
ok henning@
stevesk [Mon, 7 Jul 2008 23:32:51 +0000 (23:32 +0000)]
/*NOTREACHED*/ for lint warning:
warning: function key_equal falls off bottom without returning value
ok djm@
kettenis [Mon, 7 Jul 2008 23:22:27 +0000 (23:22 +0000)]
Match on XMITS (which is a PCI-X Schizo variant found on Sun Fire
E2900/E4900/E6900/E20K/E25K systems). There's a fairly good chance it'll
just work.
deraadt [Mon, 7 Jul 2008 22:08:12 +0000 (22:08 +0000)]
sync
mglocker [Mon, 7 Jul 2008 18:07:51 +0000 (18:07 +0000)]
- Improve negotation and fix some more DPRINTFs.
thib [Mon, 7 Jul 2008 17:16:27 +0000 (17:16 +0000)]
bcachestats got bumbed too u_int64_t's and I forgot about
munging systat to handle the field with;
pointed out by mickey
ok canacar@
oga [Mon, 7 Jul 2008 16:29:57 +0000 (16:29 +0000)]
The current drm_locked_task*() code sometimes tries to sleep in an
interrupt handler.
This is bad and wrong. So change it so that if we can't immediately grab
the hardware lock, to just leave the task flagged so that we can run it
when we release the lock. The linux implementation uses a similar
scheme.
Tested by guenther@, landry@ and bernd@. Also tested by many a while
ago as part of a larger diff.
jdixon [Mon, 7 Jul 2008 15:53:15 +0000 (15:53 +0000)]
Rework the ntpd question to default to no, and ask for the NTP server only if user chooses yes. Easier than the 3-part question and requires far fewer keystrokes to enable the 'default'.
ok krw@
kettenis [Mon, 7 Jul 2008 14:46:18 +0000 (14:46 +0000)]
Extend sbbc(4) to provide a console driver for the v1280.
kettenis [Mon, 7 Jul 2008 14:38:42 +0000 (14:38 +0000)]
Fix typo in comment.
millert [Mon, 7 Jul 2008 14:24:14 +0000 (14:24 +0000)]
Update to tzdata2008d from elsie.nci.nih.gov.
jsg [Mon, 7 Jul 2008 13:41:59 +0000 (13:41 +0000)]
Add an entry to report the bus clock on bernd's atom laptop.
Intel don't publish the EST voltage tables, and they don't
even publish the MSRs for a shipping processor so we
can figure out how to do this in the backwards highest/lowest
way cleanly.
The mapping might look like the Core * one, but who really knows
for sure outside of a few guys at Intel. Other machines with
Atom processors and a different bus clock will have to be added
one by one until this stupidity changes.
Tested by bernd, ok gwk
thib [Mon, 7 Jul 2008 12:53:43 +0000 (12:53 +0000)]
Use bus_dmamap_load_mbuf() instead of bus_dmamap_load() when
we want too load an mbuf; remove a printf that fires in case
we can't load the mbuf (We do error handling and recovery).
ok brad@, dlg@
mbalmer [Mon, 7 Jul 2008 08:01:47 +0000 (08:01 +0000)]
Shorten the sensor description and reserve room for optional characters
only when they are needed. Makes locations like -123d45m,-123d45m fit.
bernd [Mon, 7 Jul 2008 07:54:48 +0000 (07:54 +0000)]
Add AGP and hostbridge support for the Intel 82945GME chipset.
ok jsg@
bernd [Mon, 7 Jul 2008 07:40:54 +0000 (07:40 +0000)]
sync
bernd [Mon, 7 Jul 2008 07:38:40 +0000 (07:38 +0000)]
Add Intel 82945GME Hostbridge and Video.
ok jsg@
guenther [Mon, 7 Jul 2008 04:59:22 +0000 (04:59 +0000)]
Application-specified thread stacks didn't work with libpthread
because it treated the supplied memory as holding an internal data
structure instead of as the stack space itself
ok kurt@, "looks ok" otto@, tested on hppa by kettenis@
dlg [Mon, 7 Jul 2008 00:42:34 +0000 (00:42 +0000)]
tweak the alignment of the rx buffers so the headers in the frame are
better aligned for fast access. i didnt bench, so maybe this does nothing.
stevesk [Mon, 7 Jul 2008 00:31:41 +0000 (00:31 +0000)]
we don't need arg after the debug3() was removed. from lint.
ok djm@
deraadt [Sun, 6 Jul 2008 22:19:39 +0000 (22:19 +0000)]
oops, fix getpwent() use of wrong buffers
found by alexander.schrijver
mbalmer [Sun, 6 Jul 2008 21:03:13 +0000 (21:03 +0000)]
Add the position to the sensor description.
discussed with otto, sthen, ckuethe. ok otto
thib [Sun, 6 Jul 2008 16:54:48 +0000 (16:54 +0000)]
remove #ifndef nolint goo
ok blambert@
krw [Sun, 6 Jul 2008 15:03:36 +0000 (15:03 +0000)]
Don't change the size of the partition being newfs'd when sectorsize,
either from the disklabel or via -S, is not 512 bytes. Disklabel
partition sizes are sectors and not 512 byte blocks. One less 'block
is 512 bytes' assumption. 2^32 or so to go.
ok otto@ millert@
jmc [Sun, 6 Jul 2008 14:34:14 +0000 (14:34 +0000)]
- no need for .Pp before or after .Sh
- no comma for last SEE ALSO item
krw [Sun, 6 Jul 2008 14:31:19 +0000 (14:31 +0000)]
Make 'dhcp' the initial default when configuring the network. This
makes one more answer <cr>'able during install without changing any
existing behaviour.
Change 'NTP server?' default answer from 'none' to 'default'.
Suggested by thib@, supported by marco@, jsing@, millert@
mglocker [Sun, 6 Jul 2008 13:50:36 +0000 (13:50 +0000)]
When the device gets close switch back from alternate interface to
default interface. Nice side effect; Turns off the cams LED again.
sobrado [Sun, 6 Jul 2008 13:49:35 +0000 (13:49 +0000)]
spacing.
sobrado [Sun, 6 Jul 2008 13:42:35 +0000 (13:42 +0000)]
sync synopsis and usage.
sobrado [Sun, 6 Jul 2008 13:36:09 +0000 (13:36 +0000)]
spacing.
thib [Sun, 6 Jul 2008 13:33:54 +0000 (13:33 +0000)]
Zap redundant prototype for nfsrv_zapsock();
jsg [Sun, 6 Jul 2008 10:38:52 +0000 (10:38 +0000)]
pciide_match() is a bit convoluted, we match anything claiming
to be MASS_STORAGE subclass IDE regardless of id, and other
ids depending on the subclass and a known id or a known id
and the override flag.
We really want to check the subclass so we don't attach
pciide to the wrong function of a chip, which happened
last time around before the additional subclasses were
checked in the non override case and the overrides were pulled.
A bunch of the override flags were pulled after some common
subclasses (SATA/RAID) were added. So if we have a known
id and a SATA/RAID subclass we would match. Turns out some
Silicon Image SATA devices claim to be of subclass MISC
so add that as well. Unbreaks one of hennings machines
with 3114 SATA and likely quite a few other machines.
'seems safe enough to me' miod@
mbalmer [Sun, 6 Jul 2008 10:00:47 +0000 (10:00 +0000)]
Use UT_{READ|WRITE}_VENDOR_DEVICE instead of self defined values.
kettenis [Sun, 6 Jul 2008 09:08:21 +0000 (09:08 +0000)]
Adjust SYNOPSIS.
kettenis [Sun, 6 Jul 2008 09:05:04 +0000 (09:05 +0000)]
ssm(4)
kettenis [Sun, 6 Jul 2008 08:53:38 +0000 (08:53 +0000)]
Enable ssm(4) and remove hacks that worked around the fact that we didn't
have it.
kettenis [Sun, 6 Jul 2008 08:51:44 +0000 (08:51 +0000)]
Add ssm(4), a driver for the scalable shared memory device found on
Serengeti and Starcat systems.
kettenis [Sun, 6 Jul 2008 08:47:02 +0000 (08:47 +0000)]
Bump verson number now that the bootloader works on the v1280.
kettenis [Sun, 6 Jul 2008 07:28:32 +0000 (07:28 +0000)]
sbbc(4)
kettenis [Sun, 6 Jul 2008 07:27:43 +0000 (07:27 +0000)]
Add sbbc(4), a driver for the BootBus controller on Serengeti and StarCat
systems that provides time of day services and (in the future) console
services.
kettenis [Sun, 6 Jul 2008 07:25:04 +0000 (07:25 +0000)]
Add missing include such that RAMDISK kernels compile again.
deraadt [Sun, 6 Jul 2008 04:57:57 +0000 (04:57 +0000)]
sync
kettenis [Sat, 5 Jul 2008 23:08:08 +0000 (23:08 +0000)]
Copy OBP breakpoint vector from the PROM trap table into our own trap table.
This makes the kernel properly enter the prom upon halt on the v1280.
kettenis [Sat, 5 Jul 2008 23:06:06 +0000 (23:06 +0000)]
Add function to read %tba.
kettenis [Sat, 5 Jul 2008 23:03:04 +0000 (23:03 +0000)]
Apparantly the "chain" OpenFirmware interface always fails so don't bother
with it. Makes the bootloader work on the v1280 where the firmware breaks
into the firmware debugger instead of returning failure.
kettenis [Sat, 5 Jul 2008 22:59:14 +0000 (22:59 +0000)]
Round up memory allocations to page size. Apparently sane firmware versions do
this automatically, but the braindead firmware on the v1280 doesn't do this
and makes the allocation fail.
kettenis [Sat, 5 Jul 2008 22:17:21 +0000 (22:17 +0000)]
Specify the correct number of arguments in prom call that sets the trap table
(1 for sun4u, 2 for sun4v).
kettenis [Sat, 5 Jul 2008 21:20:48 +0000 (21:20 +0000)]
Calculate the size of kernel text correctly if it spans multiple prom mapping
entries. This is necessary on the v1280 where the firmware mixes 4MB and 8KB
mappings to map kernel text.
tested by miod@ and nick@
kettenis [Sat, 5 Jul 2008 21:17:28 +0000 (21:17 +0000)]
Link bootloader at 1MB (same a the Solaris bootloader) instead of 8MB (which
the firmware on the v1280 doesn't like).
tested by many
sobrado [Sat, 5 Jul 2008 21:13:47 +0000 (21:13 +0000)]
synchronize usage of atactl commands with manual page.
ok millert@, (for the change) jmc@
sobrado [Sat, 5 Jul 2008 21:00:38 +0000 (21:00 +0000)]
each utility must have its own usage and an unique set of options.
diff written by millert based on a previous one by me;
millert's diff has a much better style and adds support for different
sets of options for each utility.
ok millert@
sobrado [Sat, 5 Jul 2008 20:59:42 +0000 (20:59 +0000)]
each utility must have its own usage and its own set of options;
b64encode and b64decode are equivalent to running uuencode and uudecode
respectively with the -m flag specified, so this flag should not be
available in these utilities; while here, fix synopsis.
based on millert's diff for compress/gzip.
ok millert@
kettenis [Sat, 5 Jul 2008 20:53:33 +0000 (20:53 +0000)]
The firmware on the v1280 changes %wstate behind our back. Work around this
problem by adopting the same encoding used by Solaris for the kernel windows.
Note that this involves rearranging the trap vector tables, both fur sun4u and
for sun4v.
kettenis [Sat, 5 Jul 2008 19:30:44 +0000 (19:30 +0000)]
Don't play games with %cleanwin when spinning up secondary CPUs. The firmware
on the v1280 doesn't like it if we change it behind its back.
blambert [Sat, 5 Jul 2008 18:28:08 +0000 (18:28 +0000)]
When waking an nfs daemon, use wakeup_one vice wakeup, as
a) we're attempting to wake a specific process which
b) sleeps on a unique address
which means that there's no need to continue traversing the sleep
queue once the process has been found and awakened.
"looks good too me" thib@
kettenis [Sat, 5 Jul 2008 18:22:26 +0000 (18:22 +0000)]
regen
kettenis [Sat, 5 Jul 2008 18:21:47 +0000 (18:21 +0000)]
Add Sun SBBC.
thib [Sat, 5 Jul 2008 17:34:26 +0000 (17:34 +0000)]
Remove R_GETONEREP and the code that checks if its set
(its never set).
"please kill it" blambert@
david [Sat, 5 Jul 2008 16:57:50 +0000 (16:57 +0000)]
in pf_state_key_attach(), when there is already an existing state key that
can be used and we return the state key back to the pool, don't insert
state items into the tailq using that garbage state key.
this makes things much happier for me.
ok henning@
krw [Sat, 5 Jul 2008 16:07:01 +0000 (16:07 +0000)]
When SCSIDEBUG'ing, print data about to be written (for commands
flagged SCSI_DATA_OUT) and data that has been returned (for commands
flagged SCSI_DATA_IN). This is better than just printing the data
buffer before the command is issued since that does not include any
data that has been read. e.g. INQUIRY data, as thib@ and I discovered.
ok marco@
mbalmer [Sat, 5 Jul 2008 14:41:28 +0000 (14:41 +0000)]
Fix a comment: Code defines FTDI_SIO_GET_STATUS, use that in
comments, not FTDI_SIO_GET_MODEM_STATUS which is not defined anywhere.
Also note that on newer devices like the FT232R the request is two
bytes, not one.
thib [Sat, 5 Jul 2008 12:56:52 +0000 (12:56 +0000)]
bumb the bcachestats and the nchstats counters from long
to u_int64_t's; add two new counters to nchstats that will
be used in the future.
ok art@, beck@
thib [Sat, 5 Jul 2008 12:51:04 +0000 (12:51 +0000)]
Clean up some old dead code, mostly nqnfs and kerberos leftovers
for uid goo, mostly zapping unused members from various structures.
ok blambert@
thib [Sat, 5 Jul 2008 12:48:03 +0000 (12:48 +0000)]
re-introduce vdrop() to signal a lost intrest in a vnode;
ok art@
thib [Sat, 5 Jul 2008 12:45:06 +0000 (12:45 +0000)]
use m_freem() instead of MFREE() since we ignore the
mbuf that points to the rest of the chain (if it is a
chain).
ok blambert@
mbalmer [Sat, 5 Jul 2008 12:18:27 +0000 (12:18 +0000)]
Mention support for the Expert mouseCLOCK USB II and the lack of MSF
support.
mbalmer [Sat, 5 Jul 2008 12:11:51 +0000 (12:11 +0000)]
Add support for the new Expert mouseCLOCK USB II that uses an FTDI
FT232R chip to interface the receiver (instead of the NetCologne
chip used on older models). Only the DCF77 and HBG receivers are
supported.
A sidenote: Gude ADS not only provides me with receivers and
documentation, but as a result of my feedback on their older receivers
the new ones now have proper USB product IDs to distinguish between
DCF77, HBG, and MSF.
jmc [Sat, 5 Jul 2008 10:43:07 +0000 (10:43 +0000)]
- correct .Dt for pthread_attr_setstack.3
- new sentence, new line
guenther [Sat, 5 Jul 2008 08:03:57 +0000 (08:03 +0000)]
Add manpage for pthread_attr_[sg]etstack(3)
Correct misnaming in STANDARDS section
ok brad@ otto@
djm [Sat, 5 Jul 2008 07:25:18 +0000 (07:25 +0000)]
ksh starting as root will refuse to import a PS1 prompt unless it
contains a '#' character. Make it also accept the \$ PS1 sequence
(which is supposed to automagically be $ or # depending on the user
running the shell) unless ksh has been started in sh-compatibility
mode.
pointed out by millert@ when I asked why my SUDO_PS1 was not being
honoured; ok millert@
djm [Sat, 5 Jul 2008 05:16:01 +0000 (05:16 +0000)]
grammar
djm [Fri, 4 Jul 2008 23:30:16 +0000 (23:30 +0000)]
Make protocol 1 MaxAuthTries logic match protocol 2's.
Do not treat the first protocol 2 authentication attempt as
a failure IFF it is for method "none".
Makes MaxAuthTries' user-visible behaviour identical for
protocol 1 vs 2.
ok dtucker@
djm [Fri, 4 Jul 2008 23:08:25 +0000 (23:08 +0000)]
handle EINTR in packet_write_poll()l ok dtucker@
kettenis [Fri, 4 Jul 2008 22:04:37 +0000 (22:04 +0000)]
Add T_MON_BREAKPOINT, the trap vector used by OBP for breakpoints.
kettenis [Fri, 4 Jul 2008 22:03:30 +0000 (22:03 +0000)]
Change trapbase from a pointer to a variable-length array such that it can
actually be used to access trap vectors.
kettenis [Fri, 4 Jul 2008 18:48:45 +0000 (18:48 +0000)]
Add a little hack to recognize the boot device on the v1280.
kettenis [Fri, 4 Jul 2008 17:40:25 +0000 (17:40 +0000)]
Make debug code compile.
kettenis [Fri, 4 Jul 2008 17:20:27 +0000 (17:20 +0000)]
Add support for ssm nodes as found on the v1280 and bigger machines. For now,
we pretend that ssm is mainbus. Perhaps I'l turn it into a real bus driver
later.
blambert [Fri, 4 Jul 2008 16:49:28 +0000 (16:49 +0000)]
Remove unused NQNFS #define
ok thib@
yuo [Fri, 4 Jul 2008 15:07:44 +0000 (15:07 +0000)]
regen
ok jsg@
yuo [Fri, 4 Jul 2008 15:06:54 +0000 (15:06 +0000)]
add new entries for 3G/3.5G modems
sthen [Fri, 4 Jul 2008 15:03:45 +0000 (15:03 +0000)]
Teach sysmerge to retrieve {etc,xetc}*.tgz files from FTP/HTTP
paths using ftp(1). Thanks ajacoutot and jmc for suggestions.
ok ajacoutot jmc, no objection deraadt
jmc [Fri, 4 Jul 2008 14:55:59 +0000 (14:55 +0000)]
remove trailing whitespace;
mbalmer [Fri, 4 Jul 2008 14:39:37 +0000 (14:39 +0000)]
Make the proxy module work with https again by allowing the destination
port to be set in the config file instead of using HTTP_DEFAULT_PORT
in all cases. Prevent a segfault that would happen when the SSL
connection from the proxy fails.
Problem found and analyzed by Mischa Diehm; fix by me.
djm [Fri, 4 Jul 2008 12:50:23 +0000 (12:50 +0000)]
fix compilation for !YP case; ok millert@
espie [Fri, 4 Jul 2008 10:55:55 +0000 (10:55 +0000)]
no reason not to document that one can use ${WRKDIR}/bin to override
nasty commands dependencies.
espie [Fri, 4 Jul 2008 10:47:13 +0000 (10:47 +0000)]
clean up parser a bit, separating local/distant parts in a more reusable way,
and simplify file: parsing scheme (trying it with file:, then without is
a bit stupid once we have the pieces to put it back together directly).
Drop the restriction on urls from the man page, no need to finish stuff with /.
jmc [Fri, 4 Jul 2008 10:23:56 +0000 (10:23 +0000)]
some small text improvements; ok ajacoutot
dtucker [Fri, 4 Jul 2008 03:47:02 +0000 (03:47 +0000)]
Make debug a little clearer. ok djm@
djm [Fri, 4 Jul 2008 03:44:59 +0000 (03:44 +0000)]
support negation of groups in "Match group" block (bz#1315); ok dtucker@
henning [Fri, 4 Jul 2008 00:56:48 +0000 (00:56 +0000)]
in pf_state_key_attach(), when we find that there already is a state key
that we can attach the state to, make sure to not overwrite the state key
pointer in the state that was just set to the existing state key with the
state key that was supplied with the state and just free'd (well, pool_put'd).
by the time we clean up the state and try to follow it to RB_REMOVE etc
we'd follow that garbage pointer to either an unrelated state key or the old
state key still sitting unused in the pool.
should fix the RB_REMOVE panics some people have been seeing.
"clearly ok, please commit" ryan
henning [Fri, 4 Jul 2008 00:09:31 +0000 (00:09 +0000)]
remove prototype for nonexistant function
otto [Thu, 3 Jul 2008 21:46:58 +0000 (21:46 +0000)]
avoid nasty double free; ok dtucker@ djm@
sturm [Thu, 3 Jul 2008 18:45:51 +0000 (18:45 +0000)]
deal with hrefs containing '/' instead of just the package file name
this permits fetching packages from thttpd
ok espie
oga [Thu, 3 Jul 2008 18:32:06 +0000 (18:32 +0000)]
Add the pci id and driver flags flags parts for the previous two updates
(radeon and intel)
tested by a few (as part of the updates)
oga [Thu, 3 Jul 2008 18:30:48 +0000 (18:30 +0000)]
Oops.. missed these files out of the radeon git update.
>Update the radeondrm driver to be level with drm git.
>
>adds:
>
>- support for RS400 chips
>- some cleanup of a few things
>- fixes a hard lockup for r3-500 cards.
>
>Tested by a few
oga [Thu, 3 Jul 2008 18:27:51 +0000 (18:27 +0000)]
Update the inteldrm driver to drm git.
changes:
- Support for intel 4 series chipsets (i'll do any relavent agp bits for
these as soon as i grab the datasheet and find a testcase)
- fix scheduled buffer swaps on non 965 chipsets
- major reorder, dedup and general cleanup of register definition and
the header file
Tested by a few, no regressions
oga [Thu, 3 Jul 2008 18:25:14 +0000 (18:25 +0000)]
Update the radeondrm driver to be level with drm git.
adds:
- support for RS400 chips
- some cleanup of a few things
- fixes a hard lockup for r3-500 cards.
Tested by a few
otto [Thu, 3 Jul 2008 17:52:08 +0000 (17:52 +0000)]
fix inifinite loop with set -o csh-history and !<space> as input.
report and testing by david@; ok millert@ jaredy@