Commit Graph

168734 Commits

Author SHA1 Message Date
drochner ca15c5b536 add some missing softc initialisation necessary after the device/softc
split, approved by Chris Gilbert
2008-04-04 17:44:43 +00:00
ad 15efd9ad99 Do adaptive spinning for rwlocks, but only if the lock is write held and
there are no waiters. This gives a major boost to build.sh on larger
systems as directory vnode locks are exclusive for lookup, but are often
only held for a very short period of time.

This change has the potential to more readily expose lock order reversals
and other types of deadlock.
2008-04-04 17:25:09 +00:00
ad 61a0a96054 Maintain a bitmap of idle CPUs and add idle_pick() to find an idle CPU
and remove it from the bitmap.
2008-04-04 17:21:22 +00:00
tsutsui a3fc79baa9 Split device_t/softc for iee(4), with misc cosmetic changes. 2008-04-04 17:03:42 +00:00
tsutsui bc7b528919 Use CFATTACH_DECL_NEW(). (no softc) 2008-04-04 16:33:05 +00:00
tsutsui 9a86ae19d5 - add options COMPAT_40
- use options<space><tab>
2008-04-04 16:27:26 +00:00
martin 5cc9b872da Make this compile w/o GEM_DEBUG on non-sparc systems 2008-04-04 16:26:52 +00:00
tsutsui 174de56cb1 Add nca at pcmcia (53C400 based SCSI). 2008-04-04 16:21:08 +00:00
tsutsui d637b91d45 Split device_t/softc for more ncr5380sbc variants, with related changes. 2008-04-04 16:19:51 +00:00
matt 666d4c1ddb split device_t/softc. Use device_xname and device_private. 2008-04-04 16:04:19 +00:00
tsutsui 5147571380 Split devict_t/softc for ncr5380sbc SCSI, and misc cosmetic changes. 2008-04-04 16:00:57 +00:00
xtraeme 6e993e74bb Fix fallout from previous commit. 2008-04-04 13:10:41 +00:00
njoly 8c5bd726ed Regen for msync(2) support. 2008-04-04 12:59:15 +00:00
njoly dc80a00302 Add msync(2) syscall. 2008-04-04 12:57:55 +00:00
njoly 2b6f0cc5e4 Regen for linux_sys_msync removal. 2008-04-04 12:43:00 +00:00
njoly dcde97da0e Cleanup. Kill linux_sys_msync and use sys___msync13 instead.
No functional changes expected.
2008-04-04 12:38:52 +00:00
tsutsui 229f1dede1 Account ci_idepth in VR_INTR() and TX_INTR, rather than cpu_intr() in
hpcmips/interrupt.c. The latter one is used only on kernels configured for
multiple CPUs (i.e. kernels which have both options VR41XX and TX39XX).

Closes PR port-hpcmips/38139 from Risto Sainio.
2008-04-04 12:36:06 +00:00
tsutsui d9941582bf Split device_t/softc for le(4) and variants and misc cosmetic changes. 2008-04-04 12:25:06 +00:00
tsutsui 960221ac26 Split device_t/softc with misc related changes. 2008-04-04 12:20:48 +00:00
tsutsui f061be1a68 Add options COMPAT_40. 2008-04-04 10:21:40 +00:00
xtraeme 63e2f604f6 Split device_t/softc and other related cosmetic changes. 2008-04-04 10:11:01 +00:00
hannken ad882177bc Update includes. Builds again on sparc64.
Ok: Juan Romero Pardines <xtraeme@netbsd.org>
2008-04-04 10:10:20 +00:00
xtraeme a95f67b961 This driver attachs to the iic bus not i2c. 2008-04-04 10:09:07 +00:00
tsutsui 88d7308f1b Add options COMPAT_40. 2008-04-04 10:06:54 +00:00
xtraeme 74fc6cf06c Split device_t/softc and other related cosmetic changes. 2008-04-04 09:49:49 +00:00
hauke 00d02da16b Go all the way, and use the new accessor function for the device_xname field. 2008-04-04 09:49:33 +00:00
xtraeme 315a851ae4 Don't forget to unmap I/O space in the error paths.
Split device_t/softc and other related cosmetic changes.
2008-04-04 09:41:40 +00:00
tsutsui 703736dfc6 Fix botches in the previous. 2008-04-04 09:33:07 +00:00
xtraeme 6f1c8ce653 Don't forget to unmap I/O space in the error paths. 2008-04-04 09:30:55 +00:00
yamt f5c7cd2491 adb_read_date_time: remove an unused variable. 2008-04-04 09:16:59 +00:00
xtraeme 6137f9f2a1 Don't forget to unmap the I/O space in the error paths. 2008-04-04 08:44:22 +00:00
xtraeme 1b00b10fa6 Remove an unused softc member. 2008-04-03 23:16:23 +00:00
xtraeme 789a8d9a8c Enable finsio(4). 2008-04-03 23:11:11 +00:00
xtraeme d91e0059ae Add finsio(4). 2008-04-03 23:09:59 +00:00
xtraeme b4af2cba55 Add the finsio(4) LKM. 2008-04-03 22:57:40 +00:00
xtraeme 489d9f36fc Erm. Backout previous... I committed the wrong file. 2008-04-03 22:54:29 +00:00
xtraeme ba517bc7f5 Mention finsio(4). 2008-04-03 22:51:53 +00:00
xtraeme 4889c380c2 Add finsio(4) entry (commented out). 2008-04-03 22:51:09 +00:00
xtraeme a68cbff5b2 Add the finsio(4) driver. This driver supports the Hardware Monitor
device in the Fintek LPC Super I/O chips, this includes the following
list:

- F71805F
- F71806F
- F71862FG
- F71872F
- F71882
- F71883F

This has been adapted from the fins(4) driver available in OpenBSD, which
only supported F71805F.

Tobias Nygren <tnn> and myself added support for the other chips; thanks go
to Tobias for testing the driver with a Fintek F71882 chip.
2008-04-03 22:46:22 +00:00
dyoung cdb2193bda Improve error handling. gre(4) is still broken, but it does not
any longer cause a page fault trap.
2008-04-03 21:40:59 +00:00
riz f0643af2a0 Support for Digi International 4 and 8 port boards, from OpenBSD.
XXX need to convert the rest of the PCI vendor/product IDs to macros
2008-04-03 20:45:08 +00:00
riz 791e9731ab Regen. 2008-04-03 20:43:27 +00:00
riz f40279c0a6 Digi International Neo 4 and 8 port serial boards. 2008-04-03 20:42:15 +00:00
drochner ed2b61ded7 update for device/softc split, thanks to Risto Sainio for testing 2008-04-03 17:04:40 +00:00
matt 2c2b152b21 Add support for --ignore-unresolved-symbol 2008-04-03 15:40:17 +00:00
drochner 16304febf2 minor fixes for device/softc split, approved by dogcow
(not tested on real hardware yet)
2008-04-03 15:12:43 +00:00
drochner 46f8b82348 update for device/softc split,
compile-tested by yamt -- could someone please give it a functional test?
2008-04-03 15:08:58 +00:00
drochner 42de29841b restore error handling in usbopen() (accidentally removed in a recent
commit), should fix a crash reported by Arto Huusko
2008-04-03 14:07:01 +00:00
xtraeme 9f5ac6b847 Add ARC_FW_DISK_INITIALIZED flag for device_state and do not treat
it as unknown; in this state the disk is correctly working so set it
as online.

Also remove some bogus htole32() for diskinfo->device_state.

This should fix PR kern/38299 by Hiroyuki Bessho.
2008-04-03 13:59:00 +00:00
xtraeme 6cefaaf7eb Mention support for the SCH5307-NS and SCH5317 Super I/O. 2008-04-03 13:37:20 +00:00