Commit Graph

417 Commits

Author SHA1 Message Date
tsutsui
7c06c0a3e8 Split device_t/softc for MI mb86960, with misc cosmetics. 2008-04-12 06:27:01 +00:00
cegger
cf417aad7e use aprint_*_dev and device_xname 2008-04-08 20:08:49 +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
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
xtraeme
0ab2da71ce Split device_t/softc for mpu(4) and its attachments, plus other
related cosmetic changes.

Reviewed by cube@.
2008-03-27 10:22:00 +00:00
xtraeme
701c2ae0a3 Split device_t/softc for joy(4) and all its attachments. Also
use device_lookup_private() and related cosmetic changes.

Reviewed by cube@.
2008-03-26 18:27:07 +00:00
cube
7aa6248cdf Split device_t and softc for ATA devices, as well as wd(4). Other
cosmetic changes where appropriate.
2008-03-18 20:46:35 +00:00
cube
d41ce071db Split device_t and softc for isapnp(4). Use proper types, ansify when
appropriate.
2008-03-15 23:35:09 +00:00
cube
612c30d938 Split device_t and softc for sb(4) and all its attachments. 2008-03-15 21:09:02 +00:00
cube
607ead0ef4 Split device_t and softc for all com(4) devices (well, everything that
uses a com_softc backend).  Use proper types and ansify where appropriate.
2008-03-14 15:09:09 +00:00
cube
cf80f73d17 Split device_t and softc for the NE2000 Ethernet chip and all its variants
and attachments.  Use device_t accessors, correct types, and ANSIfy when
appropriate.
2008-03-12 14:31:11 +00:00
jmcneill
4c1d81b2b5 Merge jmcneill-pm branch. 2007-12-09 20:27:42 +00:00
ad
3e9b14ec02 Noisy printfs. 2007-12-01 16:58:36 +00:00
ad
a2a3828545 machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h 2007-10-19 11:59:34 +00:00
ad
88ab7da936 Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
2007-07-09 20:51:58 +00:00
wiz
b4c4f977e0 Regen (with more GUS). 2007-06-08 17:57:34 +00:00
wiz
da455afa9a Add three IDs for GUS PnP.
From Zbigniew Baniewski in PR 36425.
2007-06-08 17:56:21 +00:00
tron
91c4e746d1 Regen for PR kern/36360. 2007-05-21 19:40:49 +00:00
tron
c82109688f Add entries to recognize the Farallon Etherwave ISA card via ep(4).
Based on a patch submitted by Randy Beaudreault in PR kern/36360,
reviewed by Christos Zoulas.
2007-05-21 19:40:28 +00:00
christos
53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
hubertf
eda05c6413 Remove more duplicate headers.
Patch by Slava Semushin <slava.semushin@gmail.com>

Again, this was tested by comparing obj files from a pristine and a patched
source tree against an i386/ALL kernel, and also for src/sbin/fsck_ffs,
src/sbin/fsdb and src/usr.sbin/makefs. Only changes in assert() line numbers
were detected in 'objdump -d' output.
2007-01-29 01:52:43 +00:00
christos
c5fe3abeef regen 2006-11-30 22:34:27 +00:00
christos
6137742b24 PR/35163: Christian Groessler: support for Aztech MM Pro 16 III ISA-PNP
sound card
2006-11-30 22:34:01 +00:00
christos
168cd830d2 __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
pooka
5005d343ec * __unused games + other relevant fixes
* give me ANSI C or give me death (at least where it could be easily spotted)
2006-10-16 13:00:36 +00:00
christos
4d595fd7b1 - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
2006-10-12 01:30:41 +00:00
jmcneill
8f4e570fd3 PR# 32473: GUS PnP audio device seems to be broken in NetBSD 3.0
We now need to call isa_drq_alloc to reserve DMA channel(s) for ISA devices.
Thanks to Ben Collver for testing the patch for me!
2006-09-25 23:26:19 +00:00
jmcneill
7e857903f0 Regen for PR# 23133. 2006-09-23 00:56:42 +00:00
jmcneill
1483b0e7d4 Attach ess(4) for ESS1879 devices; 2+ years late fix for PR# 23133 2006-09-23 00:56:20 +00:00
martin
2dce1200cc Avoid duplicate collon, from Stephan 'doomwarrior' in PR kern/34518 2006-09-13 14:45:24 +00:00
christos
5bfce2e9a7 fix incomplete initializers 2006-08-30 02:15:33 +00:00
christos
ee0887af27 fix missing initializer 2006-08-30 02:11:42 +00:00
rillig
e769ad7ca4 Added type information for the parameter r of isapnp_read_reg. 2006-07-16 06:01:03 +00:00
gdamore
34537908ab Add an option COM_REGMAP to allow com(4) to use an array of register indices.
This allows us to convert aucom to just another com attachment, and cleanup
some code in the com_arbus.c.

Additionally, we use a common com_cleanup routine rather than having a
zillion copies of it in the attachment points.

This has been tested on a number architectures, and it has been shown to get
close to comparable performance when COM_REGMAP is defined, and comparable
when it is not defined.

Approved by core@.  Fixes PR port-evbmips/32362.
2006-07-13 22:56:00 +00:00
chap
710af63468 Ankh-Morpork, we have a MIDI driver....
Merge from chap-midi branch, after
~month for review
Comments by thorpej@ drochner@ and Alexandre Ratchov

Incorporated: points by thorpej@ drochner@; preliminary support for
a stats-collecting ioctl suggested by martin@ from comments by A.R.

PR kern/32441 kern/32442 kern/32567 kern/32588 kern/32694 kern/33590
kern/33614 and one instance of kern/32651

ok martin@
2006-06-30 13:56:25 +00:00
christos
c1bacdf420 Regen 2006-04-27 21:33:42 +00:00
christos
da964967e6 PR/33382: Jonathan A. Kollasch: add devlogic for another com(4) at isapnp(4) 2006-04-27 21:33:23 +00:00
cube
b08283e19d Fix grammar in a comment, and use named constants for better readability. 2006-04-13 09:47:19 +00:00
christos
3c0717249d Coverity CID 2853: Return if we cannot establish an interrupt instead
of crashing later.
2006-04-13 03:36:26 +00:00
christos
cb23cf75a0 Coverity CID 1543: Fix buffer off-by-one on error. 2006-04-13 03:34:46 +00:00
christos
48fc1e1ea4 Regen. 2006-04-13 00:30:43 +00:00
christos
afbea8995b Fix the MPU attachment on Aztech 1020 that has a separate mpu pnp device
instead of having the mpu in io[1]. From doomwarriorx at gmail dot com.
2006-04-13 00:30:19 +00:00
thorpej
838ee1e0d9 Use device_private(). 2006-03-29 06:51:47 +00:00
martin
cf755d3b8b Regen 2006-02-19 21:31:14 +00:00
martin
505c00bd30 Add Aztech AZT1020. From Stephan Meisinger. 2006-02-19 21:30:46 +00:00
perry
fbae48b901 Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.
2006-02-16 20:17:12 +00:00
bouyer
bf1a4d2af5 properly use ata_channel->ch_ndrive:
- initialize it properly in the bus front-ends (all 2, exept in wdc_pcmcia.c
  for the "Sandisk CompactFlash Card" where it's set to 1)
- remplace hardcoded '2' by ata_channel->ch_ndrive in MI IDE drivers.

From Christos Zoulas in kern/32501.
2006-01-16 20:30:18 +00:00
perry
93124077ae Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:27:29 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
drochner
46ed4b50c4 s/locdesc_t/int/g 2005-08-26 12:42:11 +00:00