Commit Graph

176733 Commits

Author SHA1 Message Date
mrg 6bbe77565e add an empty module_init_md(), allows a MODULAR kernel to link. 2009-01-11 00:25:12 +00:00
mrg 0d6aaaf295 pull across the struct netbsd32_exec definition and use that in all
cases, since we never did 64 bit a.out.  now ldd on 32 bit a.out
at least tries to work, but fails (on sparc or sparc64, no idea yet
for x86) the same way that all dynamic a.out binaries fail.
2009-01-11 00:06:55 +00:00
pooka c0284edf66 * sparc supports rump kernel symbol rename
* plonk vax in here since it has issues with rename
2009-01-10 23:38:40 +00:00
pooka 132ffc213b Include userland version of atomic cas routines in librump.
(the kernel version disables interrupts and therefore can't be used)
2009-01-10 23:36:22 +00:00
wiz 91f5265e68 groff-1.20.1 out. 2009-01-10 22:30:30 +00:00
pooka a25e3b17bc Track mutex/rwlock/condvar status. This allows us to get rid of
the pthread_np calls which will not likely exist on other platforms.
2009-01-10 22:28:42 +00:00
bjh21 f8474b32a7 Add support for encoding RISC OS metadata into ISO 9660 filesystems.
This is done by adding the general ability to stuff non-SUSP data into
the end of the System Use field of a Directory Record, which required
some amount of rewriting of the SUSP support.  I think the result is
at least as good as what came before, and I've fixed at least one bug
along the way.  Tested against RISC OS 3.70 on my Risc PC.

Oh, why do we want it?  It should allow us to make acorn{26,32} CDs that
can be booted directly from RISC OS without mucking around copying the
bootloader to a native filing system.
2009-01-10 22:06:29 +00:00
wiz 67cbe60826 Make ready for HTML output.
Use proper escape for backslash ('\e').
2009-01-10 21:58:38 +00:00
pooka 29d7878897 Don't compile diagnostic code which accesses kernel symbols directly.
Will fail now since not all archs have the same symbol names.
2009-01-10 20:21:15 +00:00
pooka f326c3106f Disable symbol renaming for now on arm, mips, sh3 and sparc to
allow them to build.  Some libgcc symbols are being renamed also,
plus not all atomic operations are provided by libkern on these
archs.
2009-01-10 20:19:43 +00:00
mhitch 9ecd51cd2c For some reason lost in obscurity and time, I did not ever implement a
timeout capability to these drivers.  Apparently no one has ever had
scsi devices that failed to complete a scsi operation in some fashion,
or at least no one has reported it as best I can remember.  I've just
run into this situation and figured out that one disk would fail to
complete an I/O transaction and never timed out.  Add the appropriate
timeout function to reset the controller and restart things.
2009-01-10 19:10:50 +00:00
tteras f7557f766d From Cyrus Rahman:
Accept RFC2253 compliant escaped special characters for asn1dn identifier.
2009-01-10 19:08:40 +00:00
dsl b19182e92b When substituting .for control variables any } or ) that matches the
${ or $( must be \ escaped.
Should fix some pkgsrc issues - eg 'clean' in print/gv.
2009-01-10 16:59:02 +00:00
dsl aba4927178 Allow the user to save an unsigned int (eg the length or flags) with
each string.
2009-01-10 16:55:39 +00:00
cegger c288f70f98 use new exported constants from net80211.
no functional change.
2009-01-10 13:03:19 +00:00
cegger 13175d24c8 BCM4328 has MAC rev 12.
XXX Driver now tells me, this chip has unsupported PHY type 4.
2009-01-10 12:57:50 +00:00
cegger 48a2c14752 Attach on BCM4328. This chip supports 11n. 2009-01-10 12:55:45 +00:00
cegger 09b32df7ac Introduce ieee80211_setbasicrates().
Use it to set speed in ieee80211_ifattach().
Export new ieee80211_std_rateset_11{a,b,g}.

From OpenBSD.
2009-01-10 12:53:45 +00:00
tsutsui 7c5092b818 Remove unnecessary "last kernel PT page" mapping.
The lkptpa was required for hp300 (where PA != VA)
to prepare a page PA == VA to turn on the MMU,
and it is not needed for mac68k which has PA == VA
mappings even in kernel text/data/bss.  Tested on LC630.
2009-01-10 11:28:47 +00:00
he 8309b1bdfc Initialize a local variable to get rid of a "may be used uninitialized"
warning (turned into error by -Werror).
2009-01-10 11:04:36 +00:00
isaki 917e1cad29 Clean up messages.
- fdcintr: remove duplicated status message.
- fdioctl: make it easy to track ioctl.
2009-01-10 06:45:06 +00:00
isaki 9c9d081d26 fdc->sc_dev is not necessary. 2009-01-10 06:41:06 +00:00
jym ae69d2f013 Do not probe for console when configuring xenbus devices, as it is
attached earlier during boot, when initializing hypervisor.

This avoids the "unknown type console at xenbus0 id 0 not configured"
autoconf(9) messages, which are misleading during domU's boot.

See also http://mail-index.netbsd.org/port-xen/2009/01/05/msg004621.html

Ok by bouyer@ in private mail.
2009-01-09 22:26:25 +00:00
cegger 799a73e2e9 rgephy(4): Support for RTL8211C(L) phy and flow control. 2009-01-09 22:16:01 +00:00
cegger 096c5722ac add flow control support. From OpenBSD. 2009-01-09 22:03:13 +00:00
cegger f7112a92d1 add support for RTL8211C(L) phy.
From FreeBSD.
2009-01-09 21:56:35 +00:00
jmcneill df68862dbf Make the "EULA not accepted" message a bit more informative, now reads:
EULA not accepted; please see the <driver>(4) man page.
2009-01-09 21:14:36 +00:00
macallan 0370399da0 mention bwi driver 2009-01-09 21:03:39 +00:00
macallan d6ded78b71 Fix previous screwup.
This is the real bwi driver.
Ported by Taylor R. Campbell
2009-01-09 20:49:42 +00:00
macallan 2af193eec9 add bwi driver for Airport Extreme
This driver didn't get much testing so I'd consider it experimental for now
2009-01-09 20:01:28 +00:00
macallan 71a6e25dc4 Last bit of the bwi driver
From Urban Boquist
2009-01-09 19:58:17 +00:00
macallan b7893fb67e PCI attachment for the bwi driver
From Urban Boquist
2009-01-09 19:53:24 +00:00
macallan c83792f07e A driver for Broadcom BCM4302 wlan controllers, otherwise known as
Airport Extreme.
Ported from Dragonfly and OpenBSD by Urban Boquist
2009-01-09 19:50:24 +00:00
mhitch 08fb41ba70 This driver doesn't use sicallbacks, so don't bother pre-allocating one.
Probably left over from a copy/edit of the zssc driver.
2009-01-09 19:37:37 +00:00
drochner bc4339482e sync the last commit with the official 9.5.1-P1 release,
thanks to Adrian Portelli for the upstream patch
2009-01-09 17:44:20 +00:00
briggs 0bc37e80cc Enable lmtemp0/1. 2009-01-09 17:21:19 +00:00
briggs 9ee13eae71 According to the datasheet, temperatures on the LM75 are kept in
0.5 degC-precision the most-significant 9 bits of a 16-bit register.
Interpret them as such and simplify the conversion.
2009-01-09 17:20:31 +00:00
briggs 9a22d28e6e Allow IQ80321-derived systems to provide an m.d. reboot routine.
Use this on the IQ31244 to force a watchdog reset from the M41ST84
if it's been attached.  The generic reset doesn't fully reset the
system whereas the RTC watchdog reset does.
2009-01-09 16:23:59 +00:00
briggs 6d5de89955 Enable the M41ST84 RTC. 2009-01-09 16:21:27 +00:00
briggs c43973de4b Provide a utility routine to configure/write the watchdog.
XXX This watchdog should eventually be integrated into the generic
    watchdog framework.
2009-01-09 16:09:43 +00:00
tsutsui 4f13ce5106 Use "-Os -freorder-blocks" as well as <sys.mk> for ramdisk build.
"-Os might cause compiler bugs on sh3" comment was for egcs or gcc3.
"-Os" might be also safe, but use the same one with the default sh3 build
for now.

Briefly tested on (not emulated but real) dreamcast.
2009-01-09 10:05:27 +00:00
apb a61d570b55 Move explanatory text above the "dynamically-created" example,
to match other examples.
2009-01-09 09:39:05 +00:00
kardel 8e2fdb6d67 ntp 4.2.4p6 imported 2009-01-09 07:26:10 +00:00
tteras a0b1dc6be0 Fix a CPPLAGS typo to CPPFLAGS which was intended 2009-01-09 06:31:38 +00:00
tteras 9df0ec5c7e Fix a CPPLAGS type to CPPFLAGS which was intended 2009-01-09 06:31:37 +00:00
pooka 6520945b68 Add a handcrafted assym.h to allow hp700 to build. This file should
really be autogenerated, but seems it's generally not required by
stuff in rump and guessing the location of the appropriate genassym.cf
is difficult without a major consultation.

Thanks to Havard for spotting the build failure.
2009-01-09 01:38:35 +00:00
bjh21 7dd482c240 Fix another bug in SUSP "CE" handling: when the SUSP records fit into
the System Use field with fewer then 28 bytes to spare, we were
remembering the wrong length for the System Use field and hence
emitting a corrupt directory entry.  This could be triggered by trying
to build a filesystem containing a regular file with a 120-byte name.
Now we're a little more careful.
2009-01-09 00:24:07 +00:00
bjh21 61773f97b8 When splitting a System Use Area between a System Use field and a
Continuation Area, be sure to insert the "CE" record at the correct
point in the chain of SUSP records.  Without this, makefs emits
an invalid image if any file needs a Continuation Area.  The bug
seems to have been introduced with the conversion to TAILQs.
2009-01-08 23:31:33 +00:00
bjh21 a9eb597f96 Typo: debuging -> debugging. 2009-01-08 22:28:45 +00:00
bjh21 72846fc11e If the user specifies a cd9660-specific option that needs an integer value
without supplying a value, complain at them instead of segfaulting.
Or, to put it another way, check that the value is non-NULL before calling
set_option().
2009-01-08 22:26:19 +00:00