Commit Graph

155120 Commits

Author SHA1 Message Date
ober 89c37015f9 Updated to include new Zaurus port as per new-port checklist. 2007-01-06 03:34:26 +00:00
jmcneill 2a4936329d Add some WSDISPLAYIO compat options, an SMBus driver, and the pic16lc
sensor driver to the Microsoft Xbox sample config.
2007-01-06 02:45:42 +00:00
jmcneill 9247d9813d Driver for the Xbox System Management Controller. Currently reports CPU and
motherboard temperatures, but will eventually be extended to replace
arch/i386/xbox/pic16l.S
2007-01-06 02:44:16 +00:00
christos 6acd8da97d Don't limit lines to 8K. 2007-01-06 02:18:24 +00:00
jmcneill 77b483b9f1 There is absolutely no way that this code could have worked for reading
values from the smbus before. amdpm_smbus_exec was using the values read
from the registers and using them as return values instead of filling in
the caller's buffer.
2007-01-06 02:16:22 +00:00
jmcneill 5c65159089 nForce uses a slightly different register offset for the smbus controls;
compensate for this.
2007-01-06 01:20:39 +00:00
wiz 596987c9f5 Bump date for previous. 2007-01-06 01:15:43 +00:00
christos a7d00fb3d8 PR/34683: Bucky Katz: RTC driver
The attached patch adds support for the OMAP Real Time Clock.
2007-01-06 00:59:45 +00:00
christos faa54b03a6 PR/34682: Bucky Katz: Add support for the OMAP GPIO blocks. 2007-01-06 00:58:04 +00:00
christos 4f74175a01 PR/34680: Bucky Katz: OMAP5912 support:
Attached is a patch to add generic base support for systems based on the
OMAP 1 family.  The devices supported in this patch are serial console
and MPU timers for OS timing purposes.
2007-01-06 00:53:11 +00:00
christos 87f8f1a9a7 Scott Allan in http://mail-index.netbsd.org/port-arm/2006/07/31/0000.html
Patch to add support for ARM9E
2007-01-06 00:50:54 +00:00
christos d4a240549b From Scott Allen in http://mail-index.netbsd.org/port-arm/2006/07/26/0000.html
I ran into a problem when I tried to set up a mapping that started at virtual
address 0xFFF00000 and was 0x00100000 long.  In other words, the mapping
should have gone to the end of the 32 bit address space.  The mapping was made
with no problem, but pmap_devmap_find_va() wouldn't find an address within the
mapping.  For example, if I told it to find a mapping for 0x1000 bytes at
0xFFF01000, it would try to make sure that 0xFFF01000 was greater than
0xFFF00000 and that (0xFFF01000+0x1000) was less than (0xFFF00000+0x00100000).
However, that last expression (0xFFF00000+0x00100000) wrapped around to be
simply 0x00000000 so it wasn't found.  This patch fixes this problem in
pmap_devmap_find_va() and pmap_devmap_find_pa() by subtracting one off of the
sizes to be compared, so in my example, (0xFFF01000+0x1000-1) will be less
than (0xFFF00000+0x00100000-1).
2007-01-06 00:40:47 +00:00
christos 3f32518db7 From Scott Alan in http://mail-index.netbsd.org/port-arm/2006/07/26/0000.html
This one is really simple.  I wanted to use KERNEL_BASE in an assembly source,
but arch/arm/include/arm32/vmparam.h wasn't protected by #ifndef
__ASSEMBLER__.  The patch adds the protection.
2007-01-06 00:39:02 +00:00
christos 1e1acd26ce From Scott Alan in http://mail-index.netbsd.org/port-arm/2006/07/26/0000.html
identify_arm_cpu() prints out a helpful message when it detects that you're
trying to run on a CPU that you didn't configure for.  Unfortunately, the
check for class_option being NULL is backward, so it either won't print the
class_option, or it will try to dereference a NULL.  The patch just flips the
!= NULL to be == NULL.
2007-01-06 00:37:28 +00:00
christos 2eb1bf64a3 PR/34679: Bucky Katz: Basic support for the TI OMAP family of ARM processors
Attached is a patch to add generic base support for systems based on the
OMAP 1 family.  The devices supported in this patch are serial console
and MPU timers for OS timing purposes.

This patch depends upon patches previously sent by Scott Allan: "Three
small patches for ARM" on 07/26/2006 and "Patch to add support for
ARM9E" on 07/31/2006.

A staggering number of mobile phones, PDAs, and other portable devices
are based on these systems, and OMAP would make a great addition to
NetBSD.  If there are any concerns we can address or other things we can
do to get this code accepted upstream please let me know, thanks,
2007-01-06 00:29:52 +00:00
jmcneill 87323934f6 Add nVidia nForce support, tested on Xbox. 2007-01-06 00:14:21 +00:00
jmcneill 0868d77b08 Sync with Xbox Host-PCI bridge name change. 2007-01-06 00:08:20 +00:00
jmcneill 246740d3d7 Regen. 2007-01-06 00:08:00 +00:00
jmcneill c9afab901a Add Xbox SMBus controller, and rename "Xbox nForce" to accurately reflect
that it is the Host-PCI controller.
2007-01-06 00:07:46 +00:00
ober 0d84384e5c Updating to reflect new Zaurus Port as per new-port checklist 2007-01-05 23:58:10 +00:00
christos 1424501a85 Ansi, KNF, no functional change. 2007-01-05 23:17:32 +00:00
jmcneill a6c2ba7419 Remove include of machine/autoconf.h to make this compile. 2007-01-05 23:09:33 +00:00
jschauma 68ea33e34d Note that uniq uses a max line length of 8192 bytes. 2007-01-05 18:28:13 +00:00
jmcneill afcfbdad8b On the Xbox, prevent scanning past the first device on bus 1. 2007-01-05 17:53:53 +00:00
jmcneill 3f24c8d89c Enable Microsoft Xbox controller driver. 2007-01-05 17:46:24 +00:00
jmcneill cee120ede4 Add device driver for Microsoft Xbox controller. Exposes itself as a
wsmouse device for now; easy enough to make it a joystick driver in the
future.

Mappings:
 Left analog stick: Mouse movement
 Right analog stick: Scroll wheel (4 directions)
 A button: Left click
 B button: Right click
 X button: Middle click
 Y button: injected to wsmouse as a fourth mouse button click
2007-01-05 17:16:22 +00:00
elad 211d7b1c99 Use a single kauth(9) call. 2007-01-05 16:46:27 +00:00
joerg 8632294e2e Add a debug option for the route cache to help tracing down issues
like PR 35272 and 35318. When the kernel is compiled with
-DRTCACHE_DEBUG, all rtcache entries are logged to a list with the place
they got initialised. This allows overwrites, double inits and other
manual messing to be detected.
2007-01-05 16:40:08 +00:00
elad 08389c092e No need to break after return. 2007-01-05 16:38:13 +00:00
elad bcfa7b3cfb Use a single kauth(9) call. 2007-01-05 16:23:04 +00:00
joerg fbd2dfee02 Use rtcache_free for consistency. 2007-01-05 15:47:33 +00:00
elad 1113a3afe4 Consistent usage of KAUTH_GENERIC_ISSUSER. 2007-01-05 15:40:51 +00:00
elad ce903562f2 Use kauth(9). 2007-01-05 13:34:17 +00:00
elad a75d82b0bc We no longer have 'enum kauth_machdep_req'. 2007-01-05 13:23:22 +00:00
elad 0ff4d47ce3 Fallthrough. 2007-01-05 13:21:53 +00:00
jmcneill d717c89c37 Regen. 2007-01-05 13:14:48 +00:00
jmcneill 5e3e6cca03 Add some more Xbox USB products, from Andrew Gillham. 2007-01-05 13:14:30 +00:00
msaitoh 9dc6590033 Apply OpenBSD's rev. 1.33 to shut up "msk0: phy write timed out"
Original commit message:
 > In msk_marv_miibus_writereg, wait for busy flag to clear instead of
 > continuing when busy flag set.
2007-01-05 09:23:41 +00:00
mouse 9707fdff94 Add workarounds for include-file bugs exposed by this file. (Ideal, of
course, would be to fix the include-file bugs; that may follow later.)
2007-01-05 06:32:48 +00:00
jmcneill 40ee3ca829 Regen. 2007-01-05 06:12:33 +00:00
jmcneill e4bc7308e6 Add USB product ID for Microsoft Xbox Controller S 2007-01-05 06:12:20 +00:00
jmcneill 6f578b89df Cleanup sample XBOX config file. 2007-01-05 05:04:38 +00:00
jmcneill 32238623bd Add support for wsfb; now we can run an X server on the Xbox! 2007-01-05 04:58:32 +00:00
jmcneill e619988ed2 Allow xboxfb to attach and initialize the display early in the boot process. 2007-01-05 04:13:09 +00:00
jmcneill 22ee0fcbec Attempt to initialize the console slightly later for hw drivers that wish
to be deferred. While we're here, clean up the Cromwell/Xromwell Xbox
workaround.
2007-01-05 04:07:23 +00:00
christos 8d9a441486 Appease wizd, from Anon Ymous. 2007-01-05 03:52:35 +00:00
jmcneill fa9fc940ce xboxfb is a possible candidate for the console screen, from Andrew Gillham 2007-01-05 02:39:50 +00:00
jmcneill 4a0aec6ff9 Don't attempt to clear the screen when adding a new virtual console, and
use shadowfb to make scrolling significantly less painful until we get a
proper accelerated console driver for this machine.
2007-01-05 02:09:13 +00:00
jmcneill d9c4129a70 A few changes to make this work on the Microsoft Xbox. Should also help
with other users who have been experiencing watchdog timeouts:
 * Mask all interrupts while servicing a tx or rx interrupt.
 * On init, clear IRQ status registers (workaround for buggy netbooters).
2007-01-05 01:33:57 +00:00
jmcneill 6f8fa49b5b Fix incorrect definition of wake-on-LAN magic number, from FreeBSD. 2007-01-05 01:26:52 +00:00