Commit Graph

82559 Commits

Author SHA1 Message Date
gdamore
0d7e99a27a Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software.  ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!
2006-08-16 22:46:44 +00:00
bjh21
64e85b48bf Fix an obvious typo. 2006-08-16 22:09:12 +00:00
gdamore
f943f04933 2nd try. Fix errors (hopefully) that prevented this from compiling. This
has not been tested, as I lack the tools necessary to build this (and can't
bootstrap pmppc toolchain for some reason.)

Requested by garbled@
2006-08-16 21:28:36 +00:00
plunky
d9b3621e66 Fix broken comments - there is no SO_ISCONNECTED or SO_ISCONFIRMING
this fixes kern/32058
2006-08-16 18:31:54 +00:00
plunky
b85b083b6f Fix misleading comments regarding disposal of mbufs 2006-08-16 18:23:40 +00:00
plunky
b54ec7d631 Remove macro call sonewconn() => sonewconn1() as it is no longer necessary.
There are no such calls and the compiler would catch mistakes like this
in any case.
2006-08-16 18:17:23 +00:00
christos
c07e49883f Pretending to be Elad's keyboard:
Attached diff let's call kauth_register_scope() with a NULL default
listener. from tn2127:

"callback is the address of the listener callback function for this
scope; this becomes the scope's default listener. This parameter may be
NULL, in which case a callback that always returns KAUTH_RESULT_DEFER is
assumed."
2006-08-16 17:57:26 +00:00
yamt
8d460d015a don't define XEN_CLOCK_DEBUG automatically for DEBUG.
it isn't safe to do printf in microtime().
2006-08-16 13:23:33 +00:00
yamt
c777d5404f - fix integer overflows.
- bump VMEM_MAXORDER.

should fix "idx < VMEM_MAXORDER" assertion failure reported by
Martijn van Buul on current-users@.
2006-08-16 13:19:03 +00:00
bjh21
b70c967724 Clean out some cruft left behind by the old console code. 2006-08-16 09:47:26 +00:00
he
4c04c967da Remove an unneeded include of the now-deleted <arm/iomd/rpckbdvar.h>. 2006-08-16 07:59:44 +00:00
bjh21
949d521d89 Un-__P 2006-08-15 23:32:09 +00:00
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