167792 Commits

Author SHA1 Message Date
tnn
fee0071881 Note that wpa_supplicant/hostapd 0.6.3 are available. 2008-03-01 23:47:28 +00:00
xtraeme
5bbe544447 Fix the mb(9) xref. 2008-03-01 22:28:46 +00:00
tsutsui
069af26195 Misc fixes to support 21041 on Qube2700:
- prepare two TX descriptors to avoid race and also use chaind mode
- use a recently added pcicfgread() function to get tulip I/O address
- use cobalt model id to see if we have 21041 or 21143
  (XXX maybe it's better to see PCI product ID)
- add code to reset SIA on 21041
- prepare and send filter setup packet on init
- reduce delay in RX polling
- bump version again

Now netboot works fine on Qube 2700 (even without console). Yay.
2008-03-01 20:39:25 +00:00
skrll
55edbc2411 Add hppa to the list of platforms that need help with branches.
Sort the list while I'm here.
2008-03-01 20:29:43 +00:00
tsutsui
7c2a00cd44 Rename some variables to sync with original sandpoint's one. 2008-03-01 20:24:25 +00:00
veego
26aed7b552 Add missing ';' to fix a compile error, which was introduced in the
previous revision.
2008-03-01 18:59:45 +00:00
bouyer
8e663aa43f Add wscons options, pointed out by Jonathan A. Kollasch on port-xen@ 2008-03-01 18:39:07 +00:00
rmind
85fcf08240 Fix my previous confuse of the code: use selinit/seldestroy in correct
places, and fix missed selnotify call.
2008-03-01 18:32:48 +00:00
tsutsui
8b1c40bc08 Split out a PCI configuration space read function into a separate file
so that we could use it in other sources.
2008-03-01 18:13:02 +00:00
tsutsui
c85e5be217 - print cobalt model names in boot banner
- bump version.
2008-03-01 17:45:11 +00:00
plunky
6e030479a6 remove some unnecessary casting 2008-03-01 17:26:07 +00:00
macallan
4750dcc2e0 allocate a linear buffer, don't smoke crack when setting up the engine's TLBs 2008-03-01 16:56:39 +00:00
xtraeme
a9191491be RAID 1/1+0 volumes may only be created with foreground initialization,
use the quick_init member in the ARC_FW_CREATE_VOLUME command code.

You can now create RAID 1/1+0 volumes through bioctl(8), but only one
volume will be initialized; the other ones that need initialization will
wait until the first is done.
2008-03-01 16:33:29 +00:00
chris
f033288a91 Fix acorn32 console beep to actually beep, rather than the kernel say:
aurateconv_fetch_to: internal error: unsupported encoding: enc=1 prec=8

The issue was that the playback filters for audio were being added to the
list in the wrong order.  The first entry in the list is closest to the
hardware, the last is closest to the audio buffer.  The code thought it
the other way around, so the incorrect formats were being passed down the
filter list.
2008-03-01 16:17:47 +00:00
xtraeme
fd6e8571e1 On RAID 1 volumes and when bv_stripe_size is 0 make it print 'N/A', like:
$ sudo bioctl arcmsr0 show volumes
Volume Status       Size         Device/Label    Level Stripe
=============================================================
     0 Building     234G  sd0 ARC-1210-VOL#00   RAID 1    N/A  97.40% done
     1 Offline      234G  sd1 ARC-1210-VOL#01   RAID 1    N/A
$

Make it prettier the output of "bioctl foo0 show [volumes]" too.
2008-03-01 16:08:41 +00:00
joerg
4e9584ed3b mem*.S needs assym.h. 2008-03-01 16:02:46 +00:00
joerg
7dd5d0a660 Derive the Xen install kernels from the normal runtime kernels. 2008-03-01 15:09:14 +00:00
joerg
249f2745aa Derive Xen3 domu install kernel from XEN3_DOMU. 2008-03-01 15:06:47 +00:00
joerg
3ebb96aede m88k is an empty directory in the repo, don't mention it here. 2008-03-01 14:37:02 +00:00
rmind
c6186face4 Welcome to 4.99.55:
- Add a lot of missing selinit() and seldestroy() calls.

- Merge selwakeup() and selnotify() calls into a single selnotify().

- Add an additional 'events' argument to selnotify() call.  It will
  indicate which event (POLL_IN, POLL_OUT, etc) happen.  If unknown,
  zero may be used.

Note: please pass appropriate value of 'events' where possible.
Proposed on: <tech-kern>
2008-03-01 14:16:49 +00:00
joerg
0d7b4c40bf Missing assym.h dependencies. 2008-03-01 14:00:30 +00:00
joerg
ab9987d535 Missing assym.h dependency. 2008-03-01 13:59:26 +00:00
xtraeme
d66a6e73bb arc_create_sensors: if there are no valid volumes (all passthru volumes),
just exit from the kthread.
2008-03-01 13:56:46 +00:00
skrll
4834c1b95c Arrgh.
Must try to develop and commit from the same machine.
2008-03-01 12:54:19 +00:00
skrll
90c2422ec8 Oops, fix compilation errors.
I have tested this - it's enough to load sys/modules/example.o.

Honest!
2008-03-01 12:44:53 +00:00
skrll
7bd976725f hppa bits for the kernel linker. 2008-03-01 12:40:08 +00:00
he
a2decb9dc9 It's wrong for user-land programs to define _KERNEL before including
<sys/types.h>.  The reason is that this will break the build for about
half of our ports, because the wrong variant of e.g. bswap16() is being
defined and referenced (either __bswap16() or bswap16()).  Removing
the _KERNEL define restores buildability for this program.
2008-03-01 11:04:30 +00:00
tsutsui
ec4fe570ec Enable bpfilter, which is required by dhclient(8). 2008-03-01 05:40:38 +00:00
tsutsui
cb6802dea9 Comment out some PCIIDE devices which wouldn't be available for a PCI slot. 2008-03-01 05:37:33 +00:00
tsutsui
b2335fbf0b Enable puc at pci and com at puc, which might be useful Qube2700. 2008-03-01 05:28:28 +00:00
tsutsui
2d5be04276 cnscan() should return -1 (no input) if there is no console device. 2008-03-01 05:21:50 +00:00
tsutsui
06c8e3f473 cnscan() should return -1 (no input) if there is no console device.
Now wd boot works on Qube2700 (which doesn't have serial console).
2008-03-01 05:15:31 +00:00
njoly
2222627b2d Add a few NULL entries to linux_ptrace_ops[], to make PTRACE_SYSCALL
string appear at the expected indice 24.
2008-02-29 22:45:36 +00:00
dsl
93190b890c Remove the loop used to set default and calculated parameters, instead
set the defaults at compile time and calculate any derived values in
a simple switch statement.
Use names for the bit-patterns that indicate that fields are present.
Seems to behave the same way as the earlier version.
2008-02-29 22:43:48 +00:00
christos
915f599cbf From FreeBSD via Jukka Salmi: Don't coredump on stdin. 2008-02-29 22:27:15 +00:00
bouyer
bd65ddcdb1 The Hitachi HDP725025GLA380 returns "aborted command" instead of
"id not found" when hitting the LBA48 bug, so also install the
LBA48 bug workaround on "aborted command" errors.
2008-02-29 21:51:38 +00:00
dyoung
8a7761f76c Cosmetic: shorten staircases. Join some lines. 2008-02-29 21:23:55 +00:00
xtraeme
38a2eeb907 ARC-1200 Rev A is supported. 2008-02-29 21:14:48 +00:00
xtraeme
f88582eca6 Xref arcmsr(4). 2008-02-29 20:59:37 +00:00
xtraeme
9c9ee958b6 Improve the manpages with refs, new content, etc. 2008-02-29 20:56:33 +00:00
yamt
19b9de9868 uvm_swap_io: if pagedaemon, don't wait for iobuf. 2008-02-29 20:35:23 +00:00
martin
e674d1c49a Rearange ddb saved register values slightly.
While there fix completely bogus register access ops for < 64 bit values.
2008-02-29 20:27:07 +00:00
xtraeme
e0b2280d73 arc_bio_inq: ask the firmware only once for the ARC_FW_SYSINFO
command code and use the softc values on the next bio requests.
2008-02-29 18:15:41 +00:00
xtraeme
4089d9068a Added a missing break that was bothering me. 2008-02-29 18:07:11 +00:00
xtraeme
5b41531f32 If a disk has been disconnected in a volume set, mark it as offline
and put it on another bus and print "disk missing"... the OpenBSD driver
does that but I forgot to re-add it.

Also save some values provided by the firmware in the softc and use them
in the bio(4) ioctls, this speeds up considerably bioctl(8) and avoids
so many firmware commands every time we want the current status.
2008-02-29 17:45:04 +00:00
ad
e6ac0b80ac Fix uninitialized variable that caused this to fail spuriously. 2008-02-29 16:28:12 +00:00
jmmv
055a66c56c Remove GENERIC.local from the repository
Make all the kernels that currently include their corresponding GENERIC.local
file use the cinclude directive instead of include.  This way config(1) will
not complain if the file cannot be found.

After doing this, remove the GENERIC.local files from the repository so that
the user will not see modified files during updates, and local changes to
them cannot end up in the repository by mistake.

Discussed in tech-kern@ earlier this month.  No strong objections.
2008-02-29 14:42:32 +00:00
xtraeme
9f5371f02a Only check sysmon_low_power if the event comes from
ENVSYS_BATTERY_CAPACITY sensors.
2008-02-29 14:34:49 +00:00
xtraeme
2e0c631507 bio_setstate_consistency: zero out the struct before anything else,
and fix argv argument for strtoul().
2008-02-29 14:33:02 +00:00
elad
2a9368a7e7 In linux_sys_sched_getparam(), get the native policy too, so that we have
a better chance at properly converting the priority.

Noted by & okay yamt@.
2008-02-29 14:29:06 +00:00