sos
43ba8ad6aa
Add support for the VIA 8235.
...
Submitted by: Jason Dambrosio <jason@wiz.cx>
2002-09-18 09:39:37 +00:00
ikob
da2ba83f7b
Firewire device support for Apple eMac with PPC kernel.
...
Contributed by Peter Grehan <grehan@freebsd.org>
2002-09-17 12:50:43 +00:00
sos
91e41f5a87
Fix the clockprobe test on the Sil 680
2002-09-16 09:37:26 +00:00
joe
4571d5bc4c
Deprecate the USB_SETDEBUG IOCTL as debug levels can now be set
...
using sysctl.
2002-09-15 22:35:58 +00:00
phk
b1a95d8312
Suitably shrink a comment so it applies again.
...
Submitted by: bde
2002-09-15 21:25:55 +00:00
anholt
2c45f11386
Fix i810 after i830 commit.
...
Submitted by: David Dawes <dawes@XFree86.Org>
2002-09-15 08:43:23 +00:00
bde
958421a4ec
Fixed breakage from removing the used include of <sys/buf.h> in the
...
previous commit:
Include <sys/mutex.h> and its prerequisite <sys/lock.h> instead of
depending on namespace pollution in <sys/buf.h>. Only do this in the
__FreeBSD_version > 500000 case although the __FreeBSD_version < 500000
case has already rotted.
2002-09-15 08:21:14 +00:00
phk
9f453489a6
remove #includes of <sys/bio.h> where not needed.
2002-09-14 18:59:32 +00:00
phk
2c8750a6ca
FreeBSD -current doesn't need <sys/buf.h> or <sys/bio.h>.
2002-09-14 18:58:36 +00:00
ikob
5941256529
Initial import for IEEE1394 OHCI chipdet device driver and SBP-2 (Serial
...
Bus Protocol 2:SCSI over IEEE1394) support for CAM.
2002-09-13 12:31:56 +00:00
phk
c7f7c94e96
Fix a bug were a struct bio was freed and certain members subsequently
...
examined. Use biowait() instead of DIY.
2002-09-13 11:37:38 +00:00
mux
e48c2b8560
Fix another two printf() format errors which weren't warned
...
about because the bio_blknos were bogusly casted to long long.
2002-09-13 09:37:44 +00:00
mux
6a8cbc1cb1
Fix another printf() format error which wasn't warned about
...
because the bio_blkno was bogusly casted to an int.
2002-09-13 09:19:55 +00:00
mux
af171eef1b
Fix a printf() format error on 64 bits architectures.
...
Also fix some style bugs on the same line.
2002-09-13 09:16:06 +00:00
anholt
44b216d935
Fix an i830/i845 test that shouldn't get hit in normal use and remove a printf.
...
Submitted by: David Dawes <dawes@XFree86.Org>
2002-09-13 04:17:28 +00:00
joerg
f45523b4d0
Pass the physical instead of the logical block number in
...
bp->bio_pblkno. Otherwise, all formats not using 512 byte
physical sectors got screwed.
2002-09-12 20:53:50 +00:00
sos
379b699556
Add preliminary mostly untested support for the Silicon Image Sil680 chip.
2002-09-12 15:25:59 +00:00
thomas
ac837d1b21
Change a couple of splcam() calls that do not make sense in atapi-cam
...
(what we want to mask is the ATA interrupts, which run at level splbio),
and add interrupt masking around the statement that modifies the
request queue for a SIM.
This resolves problems reported by users under heavy ATAPI load.
Reviewed by: roberto
2002-09-12 15:15:33 +00:00
sos
14fe98b3f1
Rearrange where to get the ATAPI magic sequence.
...
Submitted by: Benjamin Close <cisbjc@cs.unisa.edu.au>
2002-09-12 14:32:33 +00:00
sos
d0ac6e6991
Wait for drive to become ready if its in progress of loading..
...
Based on patch in PR-42659, but done somewhat differently.
PR: 42659
2002-09-12 13:55:24 +00:00
sos
8a7241d8c2
Dont hang in atprq on poll_dsc command.
...
This is a temporary fix until I get proper locking done.
Submitted by: iedowse@maths.tcd.ie
2002-09-12 13:53:33 +00:00
anholt
20e15ff61d
Add AGP support for Intel i830M and i845 thanks to patches from moto kawasaki
...
<kawasaki@mbg.sphere.ne.jp> and David Dawes <dawes@XFree86.org>.
2002-09-12 04:23:18 +00:00
arr
13b9ff97a2
- Forgot to remove cardattached
declaration in revision 1.22.
2002-09-10 16:50:06 +00:00
imp
c36ca204bb
reprobe not needed here either
2002-09-10 06:37:56 +00:00
imp
7896bf0965
Remove more bogus reprobe code. I don't think it is needed here either.
2002-09-10 06:37:02 +00:00
imp
2b0481758d
o Dike out the bogus reprobe stuff. It was getting in the way of newbus' own
...
reprobe code working. This bogusness was thrust upon me.
o Don't delete the device if no drivers attach. I had thrust this bogusness
upon others.
These two changes make kldload of a pccard driver work again.
2002-09-10 06:32:18 +00:00
imp
44c91692ec
regen for 1.34
2002-09-10 06:29:50 +00:00
imp
04ac07203d
Add ARGOSY SP320
...
cis submitted by: phk
2002-09-10 06:29:09 +00:00
ticso
ca81a71128
add missing \n to printf
...
Approved by: gallatin (mentor)
2002-09-09 17:39:48 +00:00
jdp
48dd538511
Add support for the BCM5703x chips. I do not have one of these
...
cards to test; however the submitter reports that this patch works
with the on-board interface on the IBM x235 server.
Submitted by: Jung-uk Kim <jkim@niksun.com>
MFC after: 1 month
2002-09-08 19:12:02 +00:00
jake
c964ec41e1
Make this driver work a whole lot better.
...
- Get the initial mode from the prom settings and don't clobber the mode
on open.
- Copy output into an internal ring buffer instead of accessing the tty
outq directly in the interrupt handler. This fixes a problem where
garbage would show up in the output stream.
- Reset the console port completely and reprogram all the parameters
before enabling it. This fixes seemingly random hangs on startup
when using a fast interrupt handler.
- Add minimal locking in place of spls.
- Remove dead code and minor cleanups.
2002-09-08 04:45:16 +00:00
mjacob
c5bf10c2fd
The size argument to snprintf does not have to be backed off by one
...
to account for a NULL byte.
Submitted by: Jacques A. Vidrine <nectar@celabo.org>
2002-09-07 16:12:52 +00:00
jhb
6e666d91a9
Export pcib_attach() as a "protected" for use in subclasses of the PCI-PCI
...
bridge driver.
2002-09-06 22:14:00 +00:00
brooks
1da1f5abfe
Don't include "bpf.h" when compiling on FreeBSD. We always compile in
...
bpf support these days.
2002-09-06 20:07:50 +00:00
mjacob
5f9cb58d07
Remove STRNCAT (==>strncat) usage. Apparently I never read the man
...
page correctly and it wasn't doing what I thought it was.
Noticed by: Brooks Davis <brooks@one-eyed-alien.net>
2002-09-06 18:32:16 +00:00
mjacob
6ee39adbaa
Tsk. Now that we're not using our own locks, we have to remember
...
to grab Giant in isp_kthread so that msleep is *happy* that there's
no lock being passed to it (as tsleep turns out to be...)
2002-09-06 18:20:59 +00:00
jhb
9b8609f2b4
Attach ACPI children a bit later in attach(), specifically after performing
...
any machine dependent initialization. This allows the MD code to set the
interrupt routing model so that PCI interrupts are routed correctly when
using an APIC or SAPIC for example.
2002-09-06 17:01:06 +00:00
jhb
09635017d5
Prefer the physical bus number of the PCI bus as the unit of the pciX
...
device created.
2002-09-06 16:09:07 +00:00
jhb
004940f13e
Add a helper routine acpi_SetIntrModel() to call the _PIC method to set
...
the interrupt model in use so that ACPI can properly route interrupts for
machines using APIC's or SAPIC's.
2002-09-06 16:08:08 +00:00
jhb
1a872debf3
Make the printf messages when routing interrupts more consistent in the
...
various PCI bridge drivers.
2002-09-05 17:08:35 +00:00
phk
fdadf6ba89
Don't let children attach fast interrupts if the parent interrupt is normal.
...
Submitted by: bde
2002-09-04 18:50:40 +00:00
markm
62b64ef509
Make consistent; turn spaces into tabs where there is a mixture.
2002-09-04 18:14:17 +00:00
phk
131e0609dc
Bring back the PUC_FASTINTR option, and implement it correctly so that
...
child devices also know if they are fast or normal.
Requested by: bde
2002-09-04 15:29:04 +00:00
scottl
1c64b14417
Sigh. The fix to the suspend code wasn't complete, since the resume
...
code was broken in the same way.
Submitted by: co9@xs4all.nl
MFC after: 3 days
2002-09-04 08:13:36 +00:00
imp
b720c131c7
More in the continuing saga of phk vs his strange serial card.
...
In this installment, we learn that it is bad to access registers that
are only defined for mfc cards in the interrupt handler when we do not
in fact have a mfc card. For MFC cards, we'll only call the ISR if
the this card interrupted bit is set. For non mfc cards (which are
basically 90% of pccards in use), we always call the ISR and avoid
touching the suspect registers. We always pacify the bit in the MFC
case on the off chance that will help in the itnerrupt handler not
being registed.
2002-09-04 06:53:37 +00:00
jhb
8fddee78db
Fix up a comment.
2002-09-04 03:53:21 +00:00
jhb
9b9a63123d
- Make pci_load_vendor_data() static and do it during MOD_LOAD instead of
...
when the first PCI bus attaches.
- Create /dev/pci during MOD_LOAD as well.
- Destroy /dev/pci during MOD_UNLOAD (not that you can kldunload pci, but
might as well get the code right)
2002-09-04 03:13:16 +00:00
jhb
63ecc1767c
Use resource_list_print_types() instead of duplicating the code.
2002-09-04 03:11:20 +00:00
phk
b88e0c1555
Remove a debug printf.
...
Correctly identify the ARGOSY SP320 dual port serial PCMCIA card.
2002-09-03 11:31:34 +00:00
phk
d24190132a
Drop another cookie to wet Warners appetite:
...
We need to call the drivers interrupt function even though the card is not
multifunction.
2002-09-03 11:24:25 +00:00