Commit Graph

73106 Commits

Author SHA1 Message Date
dyoung f5fc723f2b Add rtw(4). 2004-09-26 03:03:17 +00:00
dyoung 517a54fd17 Add Cardbus, PCI bus front-ends for RTL8180 802.11b MAC/baseband. 2004-09-26 02:33:36 +00:00
dyoung 3e9bdb9662 Add work-in-progress driver rtw(4) for Realtek RTL8180 MAC/baseband.
Add register definitions for Maxim MAX2820 and Philips SA2400 radio
front-ends.
2004-09-26 02:29:15 +00:00
yamt 6c61c34a27 remove an unneeded #include. 2004-09-26 00:26:14 +00:00
yamt 857913deac include sys/cpu_data.h only if defined(_KERNEL) 2004-09-25 22:08:48 +00:00
chris 223a229a7a Following a discussion with dsl, revert the last change.
A better fix will be forth coming.
2004-09-25 18:54:36 +00:00
chris c0ffe8e4d5 When reading the disklabel if we fail to find one, return an error.
This should fix PR's 26564 and 26809.

This allows CD installs on cats to work, as a cdxa partition is now
faked, so sysinst can mount it.

This does go against changes made for PR 21408, as it will cause the error
cd0: no disk label
to appear when running disklabel cd0.

Really readdisklabel's API should be updated to allow better error returns,
such that the driver can choose to fake the label, if readdisklabel didn't
find one.
2004-09-25 18:24:55 +00:00
thorpej aae3f1ca07 Add wedges support to the MSCP disk driver. 2004-09-25 16:44:30 +00:00
chris 47ccffe876 Fix compile if DKWEDGE_AUTODISCOVER isn't defined.
(only tested with GENERIC cats kernel)
2004-09-25 16:42:15 +00:00
thorpej ecb2cb3112 Add support for wedges to the RL01/RL02 disk driver.
XXX Can't do autodiscovery here, since we can't do I/O in rlattach().
2004-09-25 16:27:38 +00:00
thorpej dbb3225d5b Can't actually auto-discover wedges here yet, because ed drives are
not attached with interrupts enabled, meaning we can't do the required
I/O.  Add a comment to this effect.
2004-09-25 16:13:42 +00:00
tsutsui 2e988c7c99 - spc is now MI.
- Remove obsolete hp300 devices.
2004-09-25 12:31:19 +00:00
he 48936f8f33 Add another set of braces in initialization to track factoring out
of MI cpu_data.
2004-09-25 12:24:53 +00:00
tsutsui 036acd9295 Use ANSI function decls. 2004-09-25 11:58:19 +00:00
yamt 7c63ceab48 don't expose cpu_info and friends to userland. 2004-09-25 11:08:47 +00:00
tsutsui a5c60861e8 Sprinkle DELAY(1)'s in several busy loops to avoid excessive bus access.
Inspired by OpenBSD.
2004-09-25 10:47:29 +00:00
tsutsui 30e4125256 On manual xfer via TEMP register, set PCTL_BFINT_ENAB and check
bus free by INTS register. spc_intr() also checks the INTS_DISCON bit.
2004-09-25 10:36:15 +00:00
tsutsui 45d871e0fb In spc_intr(), return 0 if the interrupt is not for spc(4). 2004-09-25 10:32:15 +00:00
tsutsui dc28263470 Use manual xfer via TEMP register in status phase even on x68k.
Some devices do not transfer data with proper way on status phase
and it causes bus error in spc_datain_pio() which uses auto xfer
via DREG register on weird x68k hardware.
2004-09-25 10:15:36 +00:00
tsutsui ae6239f109 Use ANSI function decls. 2004-09-25 09:46:17 +00:00
heas afe3b1d559 Add TWE_OP_PROBE, which probes (and attaches) a port/drive. It's argument
is bytes 9 & 10 of the twe_cmd where the bit set corresponds to the port to
probe + 1 (ie: port 0 == 0x1).
2004-09-25 08:27:47 +00:00
thorpej 281037afd6 Add support for wedges to the OpenFirmware disk driver. 2004-09-25 05:21:03 +00:00
thorpej 2a671cfd0e Add support for wedges to the MCA ESDI disk driver. 2004-09-25 04:47:02 +00:00
thorpej 46cfcf0eb8 Add support for wedges to the logical disk driver. 2004-09-25 04:28:08 +00:00
yamt 49fe2034a3 uvm_map_printit:
- print wired_count if available.
- fix a printf format.
2004-09-25 04:19:38 +00:00
thorpej 72b84bf041 Add support for wedges to the SCSI disk driver. 2004-09-25 04:11:23 +00:00
thorpej cc79c7aeb0 Add support for wedges to the ATA disk driver. 2004-09-25 03:34:02 +00:00
thorpej baefaf4422 Work-in-progress implementation of "wedges", a new way to represent
partitions in the NetBSD kernel.  See discussion on tech-kern for details.
2004-09-25 03:30:44 +00:00
thorpej f9684c51b5 Definitions for the EFI GUID Partition Table partition table format.
From FreeBSD.
2004-09-25 03:29:32 +00:00
yamt 17dfcbf73e fix a typo in a comment. 2004-09-25 03:05:23 +00:00
nathanw 3a5631a0b6 PXA255 has 85 GPIO pins, not 81.
(The first revision of the manual listed the wrong number, although it had
 all 85 in the table).
2004-09-24 17:30:22 +00:00
he 9f596d4761 Since the implementation of bsd_to_linux_statfs64() is conditional,
also make the forward declaration conditional.  Fixes compile
problem for m68k ports.
2004-09-24 13:10:46 +00:00
yamt 43a9ac14d6 __UNCONST: add parens around a macro argument. 2004-09-23 22:13:40 +00:00
tron ce2c46e673 Because "paddr_t" is not a pointer type initialize "pa" to 0 and not NULL. 2004-09-23 21:30:36 +00:00
tron bcb61538fb Initialize variable "pa" to NULL in pmap_extract() to fix a compiler
error while building a debug kernel. Problem pointed out by S.P.Zeidler
on "port-amiga" mailing list.
2004-09-23 21:10:31 +00:00
yamt 139aa9db9e a little safer impl of __UNCONST, using __typeof__ if __GNUC__. 2004-09-23 17:40:16 +00:00
tsutsui ef820af6db Rename if_mec_mace.c -> if_mec.c.
This file contains not only an attachment but whole driver functions.
2004-09-23 14:45:20 +00:00
yamt ac65f2420a nfs_readdirplusrpc: fix spurious EBUSYs. 2004-09-23 10:46:44 +00:00
yamt 832a9b868e release kernel lock in uiomove(). 2004-09-23 10:45:08 +00:00
he f42ec45764 Install the new cpu_info.h and cc_microtime.h headers to allow
lib/libkvm to build.
2004-09-23 10:06:21 +00:00
tls 849c42925b Changes from Christian Limpach to improve timekeeping on NetBSD/xen by
actually adjusting the time correctly (calling hardclock as needed, not
just blindly every time Xen schedules us) based on Xen's idea of the
time in the shared page.

Xen source repo change info:
 ChangeSet
   2004/09/22 13:47:22+01:00 cl349@freefall.cl.cam.ac.uk
   Fix time.

 netbsd-2.0-xen-sparse/sys/arch/xen/xen/clock.c
   2004/09/22 13:47:21+01:00 cl349@freefall.cl.cam.ac.uk +28 -3
   Don't call hardclock on spurious timer interrupt and call hardclock
   for missed interrupts.

 netbsd-2.0-xen-sparse/sys/arch/xen/conf/XEN
   2004/09/22 13:47:21+01:00 cl349@freefall.cl.cam.ac.uk +0 -1
   Don't need custom HZ value any longer.

: ----------------------------------------------------------------------
2004-09-23 02:24:22 +00:00
heas 9d64f3ebc8 Take the modulus of the AEN queue tail number rather than the mask of. Now
the tail pointer advances properly.
2004-09-23 01:16:34 +00:00
heas ad8109e2b5 Typo in define; PhysSectorNym -> PhysSectorNum 2004-09-23 01:14:50 +00:00
enami 633ef38973 Create kernel thread and let it to issue the write request. We can't
do this from trace target process since we can't sleep at certain
trace point (otherwise system may hang).  Address PR#23155.
2004-09-22 22:15:03 +00:00
kent 54cf6460d6 ac97_host_if::reset() returns non-zero value if codec reset fails, and
ac97 is not attached in that case.

PR: kern/26973
2004-09-22 12:20:24 +00:00
lukem e0c9340497 Add "unmounting disks..." [unmount] " done" to vfs_unmountall(),
so the user has some idea what's occurring after "syncing disks... done"
2004-09-22 11:47:23 +00:00
yamt d2fe4b34bb move some per-cpu data definitions to MI place so that they can be modified
without touching all ports.  discussed on tech-kern@.
2004-09-22 11:32:02 +00:00
yamt 96d1da145d fix printf formats to match with sys/buf.h 1.75. 2004-09-22 09:56:18 +00:00
yamt 52f0c217f7 introduce M_EXT_RW to allow mbuf external storage R/W.
discussed on tech-net@.
2004-09-21 21:57:30 +00:00
thorpej d01a5a57e8 Regenerate for VNODE_LOCKDEBUG changes. 2004-09-21 03:11:53 +00:00