bjh21
cd88b446c2
vidc_initialmode seems to be initialised at startup and never touched again.
...
Lose it.
2006-08-15 23:02:47 +00:00
bjh21
48ddf9f65e
Un-__P
2006-08-15 22:58:47 +00:00
bjh21
2de7d16656
Remove some prototypes and macros that aren't used any more.
2006-08-15 22:44:19 +00:00
sanjayl
5576a1bb85
G5/970 updates:
...
Setup cache bits in HID5 early on so that dcbz/icbi use the
128 byte cache line size. The mismatch was causing dynamically linked
apps to randomly coredump.
With this fix, the G5 can boot into full multi-user by using a NFS
mounted root file system.
2006-08-15 03:29:55 +00:00
macallan
aa34d188fa
back out previous commit since it breaks console output when not using a
...
serial console
2006-08-15 01:53:26 +00:00
bjh21
90bd2ce02c
Nothing in the tree uses NVIDCAUDIO or NVIDC, so stop generating them.
2006-08-14 22:33:37 +00:00
bjh21
c189c05750
Remove various devices that acorn32 no longer has.
2006-08-14 22:05:45 +00:00
bjh21
2c38f19586
Finally remove the old, pre-wscons, acorn32 console code. This dated back
...
to RiscBSD and had been lurking in dark corners scaring people (mostly me)
for far too long. It will be missed, but not much, and I hope we can clear
up any fallout before 5.0.
While I'm in the area, also remove rpckbd(4), since pckbd(4) has
been supported on acorn32 for ages.
2006-08-14 22:04:30 +00:00
rpaulo
e47f6f523c
Actually, we don't support CLOCK_SELECTION unless we have
...
pthread_condattr_{get,set}time() and clock_nanosleep().
2006-08-14 18:17:48 +00:00
rpaulo
13a593e7c8
We support the POSIX Clock Selection Option.
2006-08-14 18:14:19 +00:00
ad
87dd042f7a
sys__lwp_create: put newuc back to the pool on failure.
2006-08-14 14:11:21 +00:00
gdt
7db024f8e7
When mounting an MSDOS fileysystem, do not require that bytes 252 and
...
253 of the superblock be zero. Searching the net failed to find any
justification for checking these bytes; all available references say
that they are part of the boot code and not BOOTSIG2 and BOOTSIG3.
Modify the MSDOS 7.1 bootsector definition to have 420 bytes of boot
code and no BOOTSIG[23], rather than 418 bytes of boot code, to follow
available references and apparent Windows practice. A test build
showed that these defines are not used other than in the check removed
by this commit.
Patch tested on netbsd-3, and enabled mounting of a 4 GB CF formatted
under Windows XP and then in a digital camera. The CF was previously
unmountable.
Concept approved on tech-kern by christos@ and martin@.
2006-08-14 14:06:26 +00:00
martin
1db4d327d9
Allow booting from wedges.
2006-08-14 12:11:26 +00:00
jmcneill
fc371b8f09
Please don't voluntarily panic before looking for ohare mac-io; I need
...
ohare on my Performa 6360.
2006-08-14 11:17:59 +00:00
itohy
59f807908c
Use the same comment for ym(4) lines.
2006-08-14 09:38:33 +00:00
itohy
cdb1835aff
ACPI frontend for Yamaha OPL3-SA[23].
...
Derived from PR kern/33991 by jasper at pointless dot net.
2006-08-14 09:34:43 +00:00
skrll
1a3062e81b
s/adpater/adapter/
...
Prompted by PR/34195
2006-08-14 06:22:33 +00:00
uwe
4fc8146812
Whether hd64461video is console is not is irrelevant to powering it up
...
on PWR_RESUME. Drop that bogus test and check whether the screen was
blanked instead to corerctly reflect blanked status across suspends.
2006-08-14 02:34:04 +00:00
jmcneill
e0a36ed3ff
Reclaim resources from an initial vga console on attach.
2006-08-13 20:27:33 +00:00
jmcneill
28ff3283af
Acceleration definitions (missed in previous commit).
2006-08-13 20:26:55 +00:00
jmcneill
5effc9a4f9
Expose RGB palette tables.
2006-08-13 20:25:47 +00:00
jmcneill
d7fd667c03
Provide a method for other display drivers to ask vga to free resources
...
it had claimed while acting as the initial console device. This allows
(for example) vga to be the initial console, and an accelerated
framebuffer driver to take over later.
2006-08-13 20:24:51 +00:00
jmcneill
ac96fed0c2
No longer try to attach unichromefb as an initial console device.
2006-08-13 20:22:27 +00:00
martin
b28babedf4
Backout previous - it is already dealt with at the config level.
2006-08-13 19:17:11 +00:00
martin
4ada5572ad
Make the discovery methods optional (as they were already declared
...
in conf/files)
2006-08-13 18:45:08 +00:00
christos
ca4ffb9d4d
Add the Apple HFS UUID for the Intel based mac's. From FreeBSD.
2006-08-13 15:31:21 +00:00
jmcneill
ef21ee74e6
Add accelerated putchar and cursor ops. Also fix a bug in copyrows that
...
caused scrolling down to always fail.
2006-08-13 14:16:44 +00:00
plunky
6232d01b2d
Remove obsolete file from repository
2006-08-13 13:59:45 +00:00
dsainty
07955f97ca
Add support for the Promise PDC20771, present on the Promise FastTrak TX2300.
...
This support is not based on a datasheet, because a datasheet is not readily
available for this chip. However, Promise have partially open sourced their
driver for Linux, and all suggestions are that the PDC20771 is pretty similar
to other recent SATA chips.
The TX2300 has two ports, but there is unoccupied space on the board for a
third PATA port. It isn't entirely obvious how many channels the PDC20771 can
support.
The pdc205xx_drv_probe probe is necessary to avoid probing two wd* devices for
every physical device.
2006-08-13 09:39:25 +00:00
dsainty
cff0bb36bb
Regen: Add the Promise PDC20771, present on the Promise FastTrak TX2300
2006-08-13 08:02:07 +00:00
dsainty
1a778d636e
Add the Promise PDC20771, present on the Promise FastTrak TX2300
2006-08-13 08:00:14 +00:00
xtraeme
dfa8fac821
Add __KERNEL_RCSID()
2006-08-13 06:21:10 +00:00
oster
505c134201
Apply a change from damien in OpenBSD: fix a use-after-free (read)
...
of a mbuf in wpi_tx_intr().
2006-08-13 03:52:33 +00:00
jmcneill
7c8d725f94
Add acceleration support for the VIA UniChrome driver. While here, fix a
...
bug that caused the screen to be filled with annoying vertical lines.
2006-08-13 03:37:02 +00:00
jmcneill
bdbf1a3323
Add rasops16 attribute to unichromefb.
2006-08-13 03:34:11 +00:00
simonb
14c80e001b
Add wpi@pci.
2006-08-13 02:27:32 +00:00
simonb
af29995e74
Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
...
Jean-Baptiste Campesato.
From PR kern/33778.
2006-08-13 02:21:45 +00:00
christos
5afff5edf4
Fix missing initialization of tmpvn; thanks gcc.
2006-08-13 00:56:37 +00:00
agc
448cb4aa28
uncomment INCLUDE_CONFIG_FILE - the information is useful, and is on by
...
default in other GENERIC configs
2006-08-12 22:28:07 +00:00
christos
0b7fa73e66
fix a stray \n
2006-08-12 21:46:03 +00:00
christos
cf1ddb6596
- Check if a disk has wedges, and use the wedge device corresponding to the
...
root partition, instead of punting. This makes booting work
with traditional disklabel disks and wedge autoconfiguration.
- factor out disk opening code.
2006-08-12 21:45:22 +00:00
christos
adddcaa6ee
Fix the dump printing too.
2006-08-12 20:27:35 +00:00
christos
f7cf5ff3b4
Only print the partition letter if the device supports partitions.
2006-08-12 19:58:55 +00:00
christos
e43176da19
add dk.
2006-08-12 19:55:42 +00:00
christos
f96e7c6a82
Revert previous borken change.
2006-08-12 19:15:19 +00:00
fvdl
3a0f71ac74
Make sure to override the trigger variable with IST_LEVEL, as well
...
as the ioapic flags, in the case of an ACPI interrupt without
override.
2006-08-12 16:20:58 +00:00
fvdl
9558563497
Record the ACPI global int in the interrupt structure for ISA interrupt
...
overrided (e.g. the SCI interrupt), so that it may be found correctly by
the ACPI interrupt establish function, should the number be different
from the original source.
2006-08-12 16:19:13 +00:00
christos
b300b74469
Disable SYSTRACE by default on all kernels (discussed with core)
2006-08-12 15:29:52 +00:00
uwe
a2668e7027
Link libkern last. It contains functions normally found in libgcc, so
...
other libraries might have references to them.
Makes this compile with gcc4 (that emits calls to __ash[rl]di3 in libsa).
2006-08-12 11:38:11 +00:00
nakayama
8f342cb589
Avoid gcc4 warnings; voice is unsigned so no need to check "voice < 0".
2006-08-12 00:34:39 +00:00
reinoud
177a68d51b
Fix comment; it stated a mimimum of 128 translations duh! a maximum it is!
2006-08-11 23:15:30 +00:00
macallan
5f55aaa2e1
Add audio input support. From Magnus Henoch, fixes PR 32664
2006-08-11 20:37:43 +00:00
christos
ce0ef6cfc4
Pretending to be Elad's keyboard:
...
fileassoc.diff adds a fileassoc_table_run() routine that allows you to
pass a callback to be called with every entry on a given mount.
veriexec.diff adds some raw device access policies: if raw disk is
opened at strict level 1, all fingerprints on this disk will be
invalidated as a safety measure. level 2 will not allow opening disk
for raw writing if we monitor it, and prevent raw writes to memory.
level 3 will not allow opening any disk for raw writing.
both update all relevant documentation.
veriexec concept is okay blymn@.
2006-08-11 19:17:47 +00:00
rjs
f80e237485
Add timecounter support. Copied from prep.
2006-08-11 15:19:59 +00:00
yamt
467e0c9853
"xm shutdown" support for xen3. ok'ed by Manuel Bouyer.
2006-08-11 13:22:43 +00:00
xtraeme
2dc3c42b88
* Skip duplicated freq values (they show up with different fid/vid).
...
* Fix cstate->fsb before calling k7pnow_states(), we need to use CPU
MHz value like openbsd does.
Tested by Rhialto.
2006-08-10 19:45:09 +00:00
xtraeme
f0c9466074
Update license. I've been talking with Martin Vegiard (original author)
...
and he wanted to move his license to TNF, make it so.
2006-08-10 17:24:10 +00:00
reinoud
f2484b697c
Fix small comment's missing hyphen
2006-08-10 14:49:14 +00:00
reinoud
12283b1fe9
Fix incorrect `loast possible lba' reporting, remove some empty lines and
...
add mmc classification for some still rare HD DVD device types.
2006-08-10 14:45:51 +00:00
simonb
4abae2e82a
Regen.
2006-08-10 13:22:54 +00:00
simonb
3ec8720588
Fix typo in 3945 Intel wireless card name.
...
Pointed out in private mail by Jean-Baptiste Campesato.
2006-08-10 13:22:12 +00:00
reinoud
9e6b675112
Fix panic on badly or curruptly formatted discs due to an oddity in the
...
error handling chain.
If NetBSD 4.0 is allready branched at this time this ought to be pulled up.
2006-08-10 12:39:56 +00:00
reinoud
81e6c818c1
The local variable `index' seems shadowing an inbuild gcc variable (???)
...
when compiling from userland (kernel ok) so rename the variable to Index to
avoid the confusing warning.
2006-08-10 12:26:44 +00:00
cube
9979ca290b
iwi now needs firmload [hi nick!]
2006-08-10 12:22:25 +00:00
christos
dc2177377e
Use curchan in monitor mode. From Dheeraj S. FreeBSD always uses curchan,
...
and maybe we should too.
2006-08-09 20:37:16 +00:00
skrll
7274555f30
s/printf/aprint_error/ for one message.
2006-08-09 11:49:41 +00:00
skrll
6458f6d488
Adapt iwi(4) to use firmload(9) and remove firmware loading from
...
iwictl(8).
2006-08-09 11:35:59 +00:00
jnemeth
d80f12f934
regen for Token Ring additions
2006-08-09 05:51:01 +00:00
jnemeth
83d05c6102
add some Token Ring devices
2006-08-09 05:47:08 +00:00
xtraeme
423aebde2b
- Add k7_powernow_destroy() prototype into cpu.h.
...
- Call k7_powernow_destroy() unloading the module.
2006-08-08 21:04:29 +00:00
xtraeme
c822683a97
Attach the "available" node under "frequency". Thanks to Robert Swindells.
2006-08-08 20:13:27 +00:00
cube
d45fad2e7e
Add support for the 631xESB/632xESB.
2006-08-08 19:38:34 +00:00
cube
8a1f50f6c7
Regen (Intel 63xxESB devices).
2006-08-08 19:37:35 +00:00
cube
46e1877148
Add device IDs for Intel's 631xESB/632xESB southbridges, and start the list
...
for the 5000X northbridge. I'll add the rest later, the spec is currently
unavailable so I'll collect them from another source.
2006-08-08 19:37:00 +00:00
cube
f48480c398
files.x86 isn't included by Xen kernels, so opt_powernow_k8.h never gets
...
created by config(1), and thus it's not safe to use it in cpuvar.h.
Simply declare the prototype for k8_powernow_init in powernow.h. No need
to #ifdef protect a prototype, after all, only its users.
Un-breaks build of Xen kernels.
2006-08-08 16:34:34 +00:00
pavel
fd456db2e7
MCLAIM the correct mbuf. PR kern/34162.
2006-08-08 15:53:40 +00:00
yamt
56d02ae53a
vfs_copyinfh_alloc: kludge for nfsv2 file handles.
2006-08-08 13:08:08 +00:00
yamt
2253872d55
nfsm_srvfhtom: ensure that padding bytes in nfsv2 file handles are zero.
2006-08-08 13:07:32 +00:00
mrg
daf321dbca
fix a GCC uninitialised variable warning only seen at -O3.
2006-08-08 10:32:09 +00:00
riz
bbde6246b7
Back out revision 1.109 - it's NOT silly to parse the comment when
...
there's important information there. Like, say, a _BETA extension.
2006-08-08 07:05:40 +00:00
riz
cc3412025e
Welcome to NetBSD 4.99.1
2006-08-08 05:43:00 +00:00
tsutsui
75c544cd93
Workaround fix for a problem caused after IPL_* macro changes.
...
Based on a patch from mrg on port-sun2.
2006-08-07 23:29:38 +00:00
tsutsui
cab7ee65e0
Remove __P().
2006-08-07 23:24:55 +00:00
tsutsui
5011ef47f2
uvm_pagealloc(9) can fail, so handle that case in pmap_enter(9).
2006-08-07 23:19:36 +00:00
xtraeme
08d26dfcb7
Enable POWERNOW_K8, now that it's working.
2006-08-07 21:33:49 +00:00
xtraeme
b34720ab68
* Create "machdep.powernow.frequency" again, it should work with estd.
...
* Remove flags member of powernow_cpu_state, we don't need it.
* Rename fsb member of powernow_cpu_state struct to pll, to use
same struct than is used in powernow_k8.c.
2006-08-07 21:16:03 +00:00
xtraeme
a4a1d218d3
* Do not change struct powernow_pst_s (I added another member in my
...
previous patch) and this MUST be of that size, otherwise the tables
won't be found.
* powernow_k8.c moved into x86/x86, it should work both i386 and amd64.
* Added more DPRINTFs needed to found the first problem.
* Create "machdep.powernow.frequency" again, I can't remember why I
removed frequency... it should work with estd now.
* Do not try to call k[78]_powernow_init() if cpu is not AMD (thanks
to christos).
And more things I can't remember, but this time it will work in
Athlon 64 cpus and it won't crash in EM64T cpus.
2006-08-07 20:58:23 +00:00
oster
803c52c2a4
sc_size should be a 64-bit quantity. Notice by Matthias Drochner.
2006-08-07 20:02:22 +00:00
oster
e350cc0fbe
Model 14 here is the 'Pentium-M (Yonah)', so let's use that
...
instead of the default.
2006-08-07 17:41:54 +00:00
tsutsui
8dc36c4c0f
KNF, TAB/space cosmetics
2006-08-07 17:36:53 +00:00
oster
ff30fd25f5
Fix a minor typo in a comment.
2006-08-07 17:08:18 +00:00
manu
05c8a1b827
Add a new signature test for linux probe function. We look for a .debuglink
...
section, which is specific to the Linux dynamic interpeter (yes, Linux
can execute it as a stand alone program)
2006-08-07 14:19:57 +00:00
cube
bb041282a1
Correctly free freq_names and cstate.
...
XXX This code is bogus anyway. Global variables vs. MP systems, anyone?
2006-08-07 11:39:30 +00:00
mhitch
1d4e083680
gcc4 uninitialized variable. gcc3 apparently didn't catch this one.
2006-08-07 01:31:36 +00:00
xtraeme
421fdf2f64
Free freq_names if k[78]pnow_current_state is NULL, pointed out
...
by cube.
2006-08-06 18:21:32 +00:00
dyoung
0cf23243f9
Use ${SYSDIR}/arch/mips/ instead of ../mips/, which was fragile.
2006-08-06 17:22:47 +00:00
dyoung
bc21bda1c9
Make the 'tags' target work better: use ${SYSDIR}/arch/evbmips/
...
instead of ../evbmips/, which was pretty fragile. Cope with long
argument lists using the echo ${args} | xargs ctags idiom used in
other architectures' tags target.
2006-08-06 17:21:58 +00:00
jmcneill
4b802ec0e1
PR/12843: Workaround for CS4280 on IBM ThinkPads. From Stephane Witzmann.
...
Note: This workaround conflicts with piixpm(4); you will need to disable
the piixpm driver if you need this fix.
2006-08-06 16:21:11 +00:00
xtraeme
e7d2347699
* Sync powernow_k7.c driver with OpenBSD, it seems to work much
...
better finding PST tables.
* Use functions defined in powernow_common.c to detect if the
CPU can run powernow.
* Update the LKM with current code.
2006-08-06 16:05:07 +00:00
jmcneill
0eb9f3fd24
Regen.
2006-08-06 15:48:34 +00:00