Commit Graph

168607 Commits

Author SHA1 Message Date
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
joerg
2522c71658 Merge libarchive-2.5.0b. 2008-03-30 05:19:00 +00:00
joerg
3c19999f8f Import libarchive-2.5.0b:
- bsdpcio and bsdtar support more of the nbpax options
- linkify interface can handle all the known hardlink resolution
  strategies
- mtree support extended, now it can almost process METALOG directly
- compress(1)-like write support
- fix gname/uname mixup
2008-03-30 05:06:00 +00:00
tsutsui
8a19236fe5 One missed file in the previous commit:
> Split softc and device_t for zsc(4) and its children.

Pointed out by mrg@.
2008-03-30 01:41:36 +00:00
macallan
e637592b65 enable PCI_VIA_TTYE0 for sparc(64), macppc and ofppc. Should probably be done
for prep as well.
2008-03-29 23:26:15 +00:00
chris
248e511e80 Add missing bracing for some THUMB_CODE. 2008-03-29 22:05:15 +00:00
phx
232fdde483 Activate genfb, pckbc, pckbd, pms, wskbd, wsmouse and wsdisplay.
Those devices work reliable on a Pegasos2 system with serial console and
with a real keyboard/monitor.
2008-03-29 21:55:32 +00:00
christos
c7a574ed9e make this compile 2008-03-29 20:40:52 +00:00
dholland
132066c541 Fix broken build. hi skrll :-) 2008-03-29 20:15:54 +00:00
mlelstv
1155fc6c2d add <der.h> header used by external software. 2008-03-29 19:58:37 +00:00
tsutsui
02cb47cab2 Split softc and device_t for zsc(4) and its children.
XXX we should restructure MI APIs and make it really machine independent.
2008-03-29 19:15:34 +00:00
skrll
38b9530a91 Fix unsed variable when DEBUG isn't defined. 2008-03-29 18:49:13 +00:00
matt
32d5b0e7f0 Fix more direct references to cd_devs to device_lookup_private 2008-03-29 17:55:35 +00:00
matt
73cb9d1894 Don't use device_private on xx_cd.cd_devs[n],
use device_lookup_private(&xx_cd, n) instead.
2008-03-29 17:52:46 +00:00
wiz
18ba1efdd8 Install /usr/include/gssapi.h; this file is needed since applications
using Heimdal expect ``#include <gssapi.h>'' to work in combination
with the ``krb5-config --cflags'' output.

Ok mlelstv.
2008-03-29 17:51:42 +00:00
matt
3504316292 Don't use device_lookup to get softc, use device_lookup_private. 2008-03-29 17:51:08 +00:00
kiyohara
1368789634 Sorry forgot.
Split device_t/softc, and cosmetic change.
2008-03-29 17:50:36 +00:00
jmcneill
b3ac884c36 Add RCSID to top of file. 2008-03-29 17:40:22 +00:00
ad
75ffa7cd83 Make TCICDEBUG / TCICISADEBUG compile. 2008-03-29 17:36:45 +00:00
ad
72afc67c95 Check the status registers for garbage before wasting seconds trying to
reset a board that isn't present.
2008-03-29 17:27:50 +00:00
ad
625a7a611a Waiting 5s for the card to reset during probe is not cool! 2008-03-29 17:13:03 +00:00
dholland
5b571a159f Add a note clarifying that getprogname() results are not trustable in a
setugid environment. Prompted by PR 38327 discussion.
2008-03-29 16:51:40 +00:00
ad
bd1204e3c8 Make it compile again. 2008-03-29 16:36:14 +00:00
kiyohara
64e7d595e1 Split device_t/softc.
And cosmetic change.
2008-03-29 16:22:53 +00:00
tsutsui
9826f6af3a - don't forget to set sc_dev
- use aprint_*() variants
2008-03-29 15:59:57 +00:00
skrll
c36ab687e9 Tidyup the attachment of various devices in the same way as OpenBSD and
use the same name.

Must have been funny to someone.
2008-03-29 15:59:25 +00:00