Commit Graph

168582 Commits

Author SHA1 Message Date
jmcneill b2bbe181c6 Fix audio_volume_toggle. How did this ever work for me? Thinkpad T61
mutes audio automatically when the mute key is pressed.
2008-04-01 00:52:11 +00:00
jmcneill 2b82be6063 Note additions of Realtek ALC662-GR support to azalia(4) and the new
asus(4) hotkey driver.
2008-04-01 00:16:14 +00:00
chris 745d331c98 Note addition of sysinst support for zaurus. 2008-04-01 00:03:54 +00:00
chris a839529a7e Increase the Zaurus INSTALL memory disk size to match the size of the
ramdisk created by the distrib files.
2008-04-01 00:01:14 +00:00
chris a6421eb745 Add zaurus support to distrib, it's now possible to build a sysinst
enabled install kernel using the standard methods.
2008-03-31 23:59:06 +00:00
chris 4d962d78f3 Add sysinst support for zaurus.
Still needs some work, eg raw partition should be c not d on arm
platforms.
2008-03-31 23:55:29 +00:00
chris e2d485abc4 Add GENERIC.HOSTUSB kernel for zaurus.
This allows a Zaurus to act as a USB host, rather than client device.

Tested on a C3000 with USB NIC. I've added most usb devices to the kernel
as I'd expect USB devices just work.

Eventually this will disappear once switching from host to device
controller mode is supported.
2008-03-31 23:40:44 +00:00
chris 53030734c6 Add GPIO pins for USB cable type detection and glue for zusb devices for
config.
2008-03-31 23:35:39 +00:00
chris ed87ed8b00 Add zusb device for powering on the USB port. Also configure USB port 2
via the client USB on the pxa270, as it appears USB port 2 is the
externally routed port.

The linux driver was used as documentation for GPIO pins and port
settings.

Note that this only seems to work for one boot, a reboot loses for some
reason, perhaps something in the USB client area needs to be configured.

XXX: perhaps we should make zusb a device that attached/detaches the USB
USB host or client device depending on the plugged in cable.
2008-03-31 23:32:43 +00:00
chris 1859a7ec67 Update pxa2x0 ohci support to match recent device_t/softc splitting on
ohci.

Also remove powerhooks (eventually it'll be pmf'd)

This is enough for host usb to work sometimes on a zaurus.
2008-03-31 23:18:49 +00:00
kiyohara aaf18737ff Split device_t/softc.
Use aprint.
2008-03-31 15:49:29 +00:00
xtraeme bc77ebea72 Remove useless returns at the end of void functions. 2008-03-31 15:28:47 +00:00
jmcneill 0123953b4c Add outputs.master.mute and inputs.dac.mute knobs for ALC662. XXX these
currently only control speaker mute, not headphone. Needs to be revisited.
2008-03-31 15:23:30 +00:00
jmcneill 8c1cc2fb3f Enable asus(4) 2008-03-31 15:21:01 +00:00
tsutsui 73f476d471 Split softc/device_t for spc(4) and misc related cleanup. 2008-03-31 15:20:47 +00:00
jmcneill 149201cfa6 Enable asus(4) 2008-03-31 15:19:28 +00:00
jmcneill 4fab67daa7 Add ASUS ACPI hotkey driver, as found in the Eee PC. 2008-03-31 15:17:21 +00:00
mjf 648ad337d4 Register pmf handler. 2008-03-31 14:30:58 +00:00
njoly d292c1dc4d Revert unexpected DDB_ONPANIC change introduced in last revision. 2008-03-31 09:42:25 +00:00
plunky 10b824ffee use aprint_error_dev(), for clarity 2008-03-31 09:37:37 +00:00
taca 1ecc4e51fc Update intree and current version of OpenSSH. (4.6 and 4.9/4.9p1) 2008-03-31 07:54:55 +00:00
he 87e42a468b Convert from use of bcopy() to memcpy() so that this builds again. 2008-03-31 06:19:59 +00:00
dogcow 50ea53d902 ...and fix my fix to do the proper device_t split. 2008-03-31 03:19:20 +00:00
dogcow 0e06ed5d6e fix device_t split fallout. 2008-03-31 02:42:42 +00:00
lukem 30883326ec Change USE_SKEY default to "no"; we have had USE_PAM=yes as the default
for a long time, and there's no point having custom S/Key support in the
applications given that pam_skey.so is now in /etc/pam.d/*
2008-03-31 02:42:27 +00:00
dogcow 85df549da3 fix device_t split fallout. 2008-03-31 02:39:40 +00:00
tnn 14cd56faf0 Portable code should use RTLD_LAZY, not DL_LAZY. 2008-03-31 00:23:15 +00:00
jmcneill c7bcf11189 Initial support for the Realtek ALC662-GR as found in the ASUS Eee PC. 2008-03-31 00:18:17 +00:00
sjg 98deadff04 If the name passed to Var_Exists contains '$' run it through Var_Subst. 2008-03-31 00:12:21 +00:00
dholland e93a5674cc Add a little const. 2008-03-30 22:28:41 +00:00
chris c82cfbf571 Use SYSTRAP macro, rather than inlining the swi instruction.
This makes sure the SWI will be in the NetBSD assigned range of swi
numbers.
2008-03-30 21:22:05 +00:00
christos e8ecc76830 will need darwin_types.h in the branch. 2008-03-30 20:59:59 +00:00
christos c2126f5e21 print size_t with %zu. 2008-03-30 20:58:08 +00:00
macallan 3b8eb423c6 actually update the 'battery present' sensor. Doh. 2008-03-30 18:19:53 +00:00
macallan b996b42f44 free & unmap DMA memory and registers on detach()
Now removing and re-attaching a mediabay works again.
2008-03-30 18:16:25 +00:00
macallan a78054eebc don't splhigh() in the interrupt handler, instead spltty() in adb_poll() 2008-03-30 17:57:29 +00:00
he 527b0e5405 Convert from using bcopy() to memcpy(), so that this builds again. 2008-03-30 16:28:08 +00:00
he 72a4c73de6 Use memcmp() instead of bcmp() so that this builds again. 2008-03-30 16:24:50 +00:00
xtraeme 1da8284de3 Match another Guillemot model, reported by J. Vicente Carrasco
in private email.
2008-03-30 16:19:55 +00:00
ad 164f30df1b Don't report kernel lock spinouts if init has not yet started.
XXX This should be backed out when we are sure that the drivers
are good citizens and configure nicely with interrupts enabled /
the system running.
2008-03-30 15:39:46 +00:00
ad 3e4bd28ac8 Defer USB configuration until interrupts are enabled. 2008-03-30 15:37:49 +00:00
ad 36659bee78 The isapnp probe is very slow, and there's not much we can do to speed it
up safely. Skip it if the system is known to have no ISA compatible expansion
slots.
2008-03-30 15:31:07 +00:00
lukem 73d8c4238e Add support for PAM when using -p, via USE_PAM!=no.
Fix non-root S/key support with USE_SKEY!=no (which is exclusive to
USE_PAM!=no); discovered whilst testing the "old" behaviour.
2008-03-30 15:30:15 +00:00
ad 584864fcf7 This driver's probe routine is particularly slow, so disable it if the
system is known to have no ISA expansion slots. XXX
2008-03-30 15:27:24 +00:00
ad 26256b6233 If SMBIOS is present and there seems to be good expansion slot info,
note the number of ISA compatible slots.
2008-03-30 15:26:20 +00:00
ad cad7ab7809 Add isa_get_slotcount/isa_set_slotcount to get/set the number of ISA
compatible expansion slots in a system.
2008-03-30 15:24:08 +00:00
skrll 56baac4d94 Detect boot devices attached at phantomas. 2008-03-30 12:39:32 +00:00
skrll 770e609eb3 Add support for NCR 53C720 found on various machines/attachments.
From OpenBSD (Mark Kettenis)
2008-03-30 12:32:13 +00:00
joerg d2eb72f2d8 libarchive minor bumped. 2008-03-30 05:33:29 +00:00
joerg a92488c994 Update for libarchive-2.5.0b. 2008-03-30 05:32:16 +00:00