146167 Commits

Author SHA1 Message Date
simonb
972aec407b Make this regression test work with objdirs. 2006-04-16 16:21:05 +00:00
christos
c5d25686e0 PR/22995: Sergey Svishchev: If we are cd'ing around and we have directories
with relative paths, convert the directories to absolute paths, so that
restoring timestamps does not fail.
2006-04-16 16:20:21 +00:00
macallan
348d57e66a build ATI drivers - useful for running a 32bit userland on sparc64 2006-04-16 15:47:35 +00:00
macallan
8c1e0d461d correct a cast to avoid a warning. Pointed out by he. 2006-04-16 15:41:52 +00:00
he
06d42ba224 Make this build again (replace indirection with field access). 2006-04-16 09:34:56 +00:00
tsutsui
c40d1f2d22 - make _ds_vaddr member vaddr_t instead of bus_addr_t
- use appropriate cache ops in bus_dmamap_sync() like other mips3 ports
2006-04-16 08:57:20 +00:00
tsutsui
cd453227e1 _ds_vaddr member in struct sgimips_bus_dma_segment is a virtual address,
so it should be vaddr_t rather than bus_addr_t.
2006-04-16 08:26:41 +00:00
tsutsui
c1842c746c _ds_vaddr member in struct cobalt_bus_dma_segment is a virtual address,
so it should be vaddr_t rather than bus_addr_t.
2006-04-16 08:10:09 +00:00
christos
e331189f4e Deal with machines that have inverted eamp power. Data from the FreeBSD
driver. Finally sound works on my vaio vgn-t250p.
2006-04-16 07:40:00 +00:00
tsutsui
edf0da13d9 In !defined(PCI_NETBSD_CONFIGURE) case, check PCI_ID_REG and PCI_CLASS_REG
before CSR fixup.
2006-04-16 07:10:45 +00:00
provos
9244f58a4e translate sendmsg so that tools like nslookup will show remote addresses;
i waited for three years and nobody did this; had to do it myself :-(
2006-04-16 05:19:02 +00:00
tsutsui
f66776b16a Pass mips_dcache_align to pci_configure_bus(9) for cacheline_size. 2006-04-16 05:09:58 +00:00
nonaka
407f05e765 A port of NetBSD to the I-O DATA HDL-G "Giga LANDISK".
Please refer to following URL for this machine.
http://www.iodata.com/products/products.php?cat=HNP&sc=HDL&ts=2&tsc=14&sc=HDL&pId=HDL-G400U
2006-04-16 02:22:33 +00:00
tsutsui
a5abba7c76 u_intNN_t -> uintNN_t 2006-04-16 00:38:59 +00:00
tsutsui
cae22e3811 Use __arraycount(). 2006-04-16 00:35:10 +00:00
tsutsui
b96af9b308 i >= 0 can never be false if i is u_int. Noticed by OpenBSD. 2006-04-16 00:30:22 +00:00
nakayama
a6ca4ed73c Follow the ktrace-lwp merge. 2006-04-16 00:03:57 +00:00
agc
7a2241d682 Regenerate with new version number (20060416) 2006-04-15 23:45:30 +00:00
agc
4819a3749d Fix two other bugs which would manifest themselves on architectures which
aren't quite as forgiving as i386 - when using a 16 bit value, use 16 bit
alignment6, not 32 bit. Makes the NetBSD iSCSI target function perfectly
with the Microsoft initiator when run on Solaris 9 on Sparc.
2006-04-15 23:44:08 +00:00
jmcneill
758e32ed76 Add support for the Turtle Beach Santa Cruz. Special thanks to Stephane
Witzmann for spending so much time debugging this.

Fixes: kern/18880, kern/24488, port-i386/14260, kern/12603, kern/12723,
       kern/24957, kern/23584

Tested on i386 (Stephane Witzmann), alpha (me).
2006-04-15 21:20:47 +00:00
jmcneill
f08bb8f847 * Add a flag AC97_HOST_INVERTED_EAMP. (kern/18880, kern/24488).
* Make reset callback optional; not all devices need it. (port-i386/14260, kern/12603, kern/12723, kern/24957).
2006-04-15 21:18:34 +00:00
jmcneill
9832e74c3e Regen. 2006-04-15 21:15:27 +00:00
jmcneill
d1cc57cfd4 Add entry for Turtle Beach Santa Cruz, and Cirrus Logic CS4615 while we're
here.
2006-04-15 21:14:32 +00:00
provos
fed8136a4e add new system calls (__lstat30 and __stat30) that should have been added
for argument translation in Systrace
2006-04-15 20:35:24 +00:00
rpaulo
6885ff5af3 s/#ifdef DEBUG/#ifdef AGP_DEBUG/ 2006-04-15 20:23:32 +00:00
jmmv
766ab88550 The getwschar and putwschar accessops are gone. 2006-04-15 17:54:34 +00:00
matt
59ec00f1e2 Use M_ZERO instead of an explicit memset. 2006-04-15 17:54:12 +00:00
jmmv
b345e2a3a3 WSDISPLAY_CHARFUNCS is gone. 2006-04-15 17:53:03 +00:00
matt
8b8889400b No reason to do *(vaddr_t *)& dance. We only assign to vaddr_t 2006-04-15 17:52:56 +00:00
matt
9102bc5b5b Don't do a.out check unless EXEC_AOUT is present. 2006-04-15 17:51:34 +00:00
jmmv
36c5a043b5 WSDISPLAY_CHARFUNCS is gone. 2006-04-15 17:51:24 +00:00
matt
7cafee35c3 Add ksyms
Add file-systems for NULL & TMPFS
2006-04-15 17:50:47 +00:00
jmmv
aec18036fd Remove the getwschar and putwschar accessops from wsdisplay drivers as
requested by uwe@.  These were wrong because they were receiving an
emulcookie yet they were accessops (thus having to receive an accesscookie).
Instead, just handle the WSDISPLAYIO_{GET,PUT}WSCHAR ioctls from the
driver's ioctl accessop.

As this reduces the amount of code needed to handle these operations to
two small functions in each driver, remove the WSDISPLAY_CHARFUNCS kernel
option.

Reviewed by, at least, uwe@ and macallan@.  No objections in tech-kern@.
2006-04-15 17:48:23 +00:00
matt
d4449c8a4e switch from MALLOC to malloc 2006-04-15 17:47:31 +00:00
jmmv
3947d9184e Add missing parameter to s3c24x0_lcd_{ioctl,mmap} functions (after the
change in wscons that modified their signature) to let this build again.
Pointed out by he@.
2006-04-15 17:00:11 +00:00
simonb
21ca328ade ANSIfy, white-space nits. 2006-04-15 16:47:30 +00:00
simonb
f9d6b7d22c Remove "register", ANSIfy. 2006-04-15 16:45:19 +00:00
he
5c4bf9a124 The type returned by __arraycount() is a size_t, not an int, so print it
with %zd and not %d.
2006-04-15 16:36:03 +00:00
simonb
9b55c28cd5 The comment says this is the same as the i386 counterpart, so catch
up on de-__P and ANSIficiation that i386 has.
2006-04-15 16:17:36 +00:00
simonb
ed66be255e Switch Algor port to MIPS generic soft-interrupts implementation.
XXX: Compile tested only.
2006-04-15 16:13:24 +00:00
tnozaki
96c958955a wcstod(3) is conform to ISO C90 Ammendant1 (FreeBSD's manpage is incorrect...).
don't __weak_alias'ize it and fix manpage.
2006-04-15 15:34:34 +00:00
simonb
727facb192 Add a DEBUG check that panics if pool_init() is called more than
once on the same pool.

As discussed on tech-kern a few months ago.
2006-04-15 14:23:11 +00:00
tsutsui
ce21617f93 Add AHC_USETARGETDEFAULTS to ahc_flag, which enables to
use default target (but not for host) device settings on
ahc(4) interface without its SEEPROM (mostly on-board one).

This flag could be useful if host's BIOS (firmware) initializes
ahc(4) chip with some conservative (async, no tagged queuing etc.)
target settings for minimum support to load its primary loader etc.,
and it will be enabled in each attachment according to MD device
properties(9). Currently this property is set only on sgimips for
O2 on-board aic7880 adapters.

No objection on tech-kern (and netbsd-bugs), and closes PR kern/23276.
2006-04-15 14:22:52 +00:00
darrenr
b817a6b4f0 This change corrects what 1.6 tried to do. This feels like a coverity fix
for a code path that should never actually happen (fr_newauth() should only
be called for auth rules - i.e. when fin_fr != NULL.  If it is possible to
call fr_newauth() with fin_fr == NULL then this change introduces a
regression compared to prior importing of 4.1.13.
2006-04-15 13:58:43 +00:00
tsutsui
4cd8515cfc Add a NetBSD RCS ID. 2006-04-15 13:43:11 +00:00
tsutsui
4e1d380fcb Switch cobalt port to use MI todr(9) functions and MI mc146818 driver.
Tested on RaQ2 and Qube2 on port-cobalt.
2006-04-15 13:33:04 +00:00
tsutsui
5423553a08 u_int32_t -> uint32_t 2006-04-15 13:26:03 +00:00
tsutsui
78354f8518 Add bmtphy at mii, found on 3Com 3C982-TXM:
> bmtphy0 at ex0 phy 24: Broadcom 3c905C internal PHY, rev. 7
2006-04-15 12:58:26 +00:00
tsutsui
0d0bf3b542 Add support for pci_configure_bus(9) (a.k.a. options PCI_NETBSD_CONFIGURE)
so that PCI devices over ppb(4) work properly on PCI based NEC machines.

Tested on my NEC JC94 (Express5800/230) and 3Com 3C982-TXM,
which has a DEC/Intel 21154 PCI-PCI bridge and two 3C920 Ethernet chips.
2006-04-15 12:53:09 +00:00
tsutsui
c51f229f25 Detect FAS216 chip on some Olivetti machines. (untested)
Based on a patch for old asc driver from Maki Kato:
http://mail-index.netbsd.org/port-arc/2000/10/07/0003.html
2006-04-15 12:41:45 +00:00