freebsd-dev/sys/dev
imp 524da8c0a8 Updated cx driver commit part 1: bring in the new kernel driver.
This is the vastly updated cx drvier from Roman Kurakin <rik@cronyx.ru>
who has been patiently waiting for this update for sometime.

The driver is mostly a rewrite from the version we have in the tree.
While some similarities remain, losing the little history that the old
driver has is not a big loss, and the re@ felt it was easier this way (less
error prone).

The userland parts of this update will be committed shortly.

The driver is not connected to the build yet.  I want to make sure I
don't break any platform at any time, so I want to test that with
these files in the tree before I continue (on the off chance I'm
forgetting a file).

I changed the DEBUG macro to CX_DEBUG from the code that was submitted
(to not break when we go to building with opt_global.h after the
release), as well adding $FreeBSD$.

Submitted by: Roman Kurakin
Approved by: re@ <scottl>
2003-12-03 07:29:38 +00:00
..
aac - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00
acpica * If a processor's softc is NULL, use C1 since there is no ACPI 2003-11-27 16:32:46 +00:00
adlink The present defaults for the open and close for device drivers which 2003-09-27 12:01:01 +00:00
advansys Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
agp - Disable AGP on ALI chipsets if aperture size is 0. 2003-11-11 21:49:18 +00:00
aha Save the device so we can do a device_printf. 2003-11-13 04:14:53 +00:00
ahb Make this at least compile on 64 bit platforms. Its been breaking 2003-07-30 20:09:22 +00:00
aic Use __FBSDID(). 2003-08-24 17:55:58 +00:00
aic7xxx Sometimes cardbus attachments don't attach, so while we track down 2003-11-28 05:28:29 +00:00
amd Prefer new location of pci include files (which have only been in the 2003-08-22 05:54:52 +00:00
amr crashdump support. 2003-10-10 22:49:40 +00:00
an Drop the driver lock around calls to if_input to avoid a LOR when 2003-11-14 19:00:32 +00:00
ar Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
asr Remove code previously under #ifdef ASR_VERY_BROKEN 2003-09-26 15:56:42 +00:00
ata Fix ata-card. 2003-11-30 16:27:59 +00:00
ath o track API change for HAL v0.9.6.1 2003-11-29 01:23:59 +00:00
atkbdc - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00
awi Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
bfe Drop the driver lock around calls to if_input to avoid a LOR when 2003-11-14 19:00:32 +00:00
bge Remove duplicate FBSDID's, move others to their right place. 2003-11-14 17:16:58 +00:00
bktr Use a mutex to synchronize the driver top and bottom halves instead of 2003-12-01 19:03:50 +00:00
buslogic Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
cardbus Make the cardbus driver a derived class of the pci driver. In theory, this 2003-11-01 12:45:03 +00:00
ciss Add PCID for 6i controller 2003-11-07 03:01:48 +00:00
cm Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
cnw Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
cs o Add sysctl to allow ignoring checksum of eeprom. 2003-11-04 02:59:57 +00:00
ct Use __FBSDID(). 2003-08-24 17:55:58 +00:00
cx Updated cx driver commit part 1: bring in the new kernel driver. 2003-12-03 07:29:38 +00:00
cy Fixed some minor indentation bugs. 2003-12-02 12:47:08 +00:00
dc Sometimes cardbus attachments don't attach, so while we track down 2003-11-28 05:28:29 +00:00
dcons Move post dmamap_load processes into the callback function. 2003-11-08 16:26:22 +00:00
de Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
dec Use __FBSDID(). 2003-08-24 17:55:58 +00:00
dgb Remove a few ushorts I missed in my earlier pass. 2003-08-15 14:55:50 +00:00
digi Eliminate bogus use of makedev(): rather than synthesize the dev_t, use 2003-09-26 09:05:57 +00:00
dpt Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
drm Update from DRI CVS. Includes locking fixes (including PR 59202), changes for 2003-11-12 20:56:30 +00:00
ed Remove duplicate FBSDID's, move others to their right place. 2003-11-14 17:16:58 +00:00
eisa Use __FBSDID(). 2003-08-24 17:55:58 +00:00
em Use if_flags to check for IFF_POLLING instead of if_ipending. 2003-12-02 22:13:08 +00:00
en Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
ep MFp4: 2003-11-02 20:13:39 +00:00
ex Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
exca Card type stuff was backwards, so assume io for the moment. mem needs 2003-10-07 04:29:04 +00:00
fatm Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
fb Fix a typo. Allow for the creator not being stdout. 2003-11-11 07:34:08 +00:00
fdc Look at the equipment list for amd64 as well as i386 for autodetecting 2003-10-23 05:52:52 +00:00
fe Try to create some sort of consistency in how the routings to find the 2003-11-13 20:55:53 +00:00
firewire Sometimes cardbus attachments don't attach, so while we track down 2003-11-28 05:28:29 +00:00
fxp Sometimes cardbus attachments don't attach, so while we track down 2003-11-28 05:28:29 +00:00
gem Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
gfb Change fb_attach() and fb_detach() to take a integer unit number rather 2003-09-26 10:41:44 +00:00
gx Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
harp Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
hatm Make the driver conditionally MPSAFE. MPSAFEty defaults to not-mpsafe 2003-11-05 11:47:31 +00:00
hea Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
hfa Use __FBSDID(). 2003-08-24 17:55:58 +00:00
hifn Add symmetric crypto support for the 7955 and 7956. 2003-10-08 20:25:47 +00:00
hme Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
ic Added definitions of most of the interesting 16950 register numbers 2003-09-16 14:21:17 +00:00
ichsmb Update the comment to indicate ICH5 support 2003-08-31 19:23:00 +00:00
ida Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
idt Gross kludge: 2003-11-16 22:33:42 +00:00
ie Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
iicbus Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
iir Update email addresses, copyrights, and tweak the management interface. 2003-09-26 15:36:47 +00:00
ips ServeRaid (at least 5i) didn't initialize correctly. To get 2003-11-27 08:37:36 +00:00
isp fix broken _IOR usage 2003-11-14 05:13:00 +00:00
ispfw Use __FBSDID(). 2003-08-24 17:55:58 +00:00
joy Use __FBSDID(). 2003-08-24 17:55:58 +00:00
kbd - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00
led Improve semantics of the 'sequence' command to led(4) devices: 2003-11-27 20:23:32 +00:00
lge Remove duplicate FBSDID's, move others to their right place. 2003-11-14 17:16:58 +00:00
lmc Use __FBSDID(). 2003-08-24 17:55:58 +00:00
lnc Remove duplicate FBSDID's, move others to their right place. 2003-11-14 17:16:58 +00:00
matcd Discontinue bio_blkno, use bio_offset instead. 2003-10-18 17:44:01 +00:00
mc146818
mca Use __FBSDID(). 2003-08-24 17:55:58 +00:00
mcd Discontinue bio_blkno, use bio_offset instead. 2003-10-18 17:44:01 +00:00
md Use the class->init() to hitch up preload devices, rather than rely on 2003-11-18 18:19:26 +00:00
mii Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
mk48txx Use __FBSDID(). 2003-08-24 17:55:58 +00:00
mlx Prepare for locking mlx(4) by cleaning up the use of busdma. No real 2003-09-02 08:30:31 +00:00
mly Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
mpt Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
mse - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00
musycc Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
my Drop the driver lock around calls to if_input to avoid a LOR when 2003-11-14 19:00:32 +00:00
ncv Const poison string accessor functions. 2003-10-26 00:51:40 +00:00
nge Remove duplicate FBSDID's, move others to their right place. 2003-11-14 17:16:58 +00:00
nmdm - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00
nsp Use __FBSDID(). 2003-08-24 17:55:58 +00:00
null Shorten the code by removing one "do-nothing" function, replacing it 2003-11-01 09:31:54 +00:00
ofw Use bio_offset instead of bio_blkno 2003-10-18 17:26:13 +00:00
owi Drop the driver lock around calls to if_input to avoid a LOR when 2003-11-14 19:00:32 +00:00
patm Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
pccard Use %#jx for both args. 2003-11-04 06:30:59 +00:00
pccbb Fix a harmless typo (use of res instead of rle: if rle is NULL, we'd 2003-11-12 05:21:06 +00:00
pcf fix another LP64 problem. READ_IVAR takes a pointer to an uintptr_t, not 2003-06-20 07:22:54 +00:00
pci Initial landing of SMP support for FreeBSD/amd64. 2003-11-17 08:58:16 +00:00
pcic Use __FBSDID(). 2003-08-24 17:55:58 +00:00
pdq Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
ppbus Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
ppc Forgot an added file in the last commit. 2003-08-01 05:02:55 +00:00
pst Dont re-arm the timeout twice on a timeout error. 2003-09-08 06:28:50 +00:00
puc Sometimes cardbus attachments don't attach, so while we track down 2003-11-28 05:28:29 +00:00
raidframe Use bio_offset instead of bio_blkno 2003-10-18 17:26:13 +00:00
random Fix a major faux pas of mine. I was causing 2 very bad things to 2003-11-20 15:35:48 +00:00
ray Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
rc Consistently use the BSD u_int and u_short instead of the SYSV uint and 2003-08-07 15:04:27 +00:00
re Sometimes cardbus attachments don't attach, so while we track down 2003-11-28 05:28:29 +00:00
rndtest Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rp Use __FBSDID(). 2003-08-24 17:55:58 +00:00
sab - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00
safe Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
sbni Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
sbsh Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
scd Discontinue bio_blkno, use bio_offset instead. 2003-10-18 17:44:01 +00:00
sf Drop the driver lock around calls to if_input to avoid a LOR when 2003-11-14 19:00:32 +00:00
si Use __FBSDID(). 2003-08-24 18:03:45 +00:00
sio Sometimes cardbus attachments don't attach, so while we track down 2003-11-28 05:28:29 +00:00
sk correct typo in interrupt handling for the 2nd port of 2-port cards 2003-11-29 19:33:01 +00:00
smbus No need for a separate nfpm driver now - amdpm handles both. 2003-09-06 13:58:06 +00:00
sn Remove duplicate FBSDID's, move others to their right place. 2003-11-14 17:16:58 +00:00
snc Do if_xname conversion. I missed this one because it's pc98 only. 2003-11-01 23:24:38 +00:00
snp - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00
sound Fix a panic due to holding a lock over calls to uiomove. 2003-11-27 19:51:44 +00:00
speaker Use __FBSDID(). 2003-06-02 16:32:55 +00:00
sr Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
stg Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
streams falloc allocates a file structure and adds it to the file descriptor 2003-10-19 20:41:07 +00:00
sym Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
syscons Fix a panic that occurs when resuming. For some reason, sc->cur_scp is 2003-10-29 20:48:13 +00:00
tdfx Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
tga Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ti Drop the driver lock around calls to if_input to avoid a LOR when 2003-11-14 19:00:32 +00:00
trm Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
twe After extensive QA cycles at 3ware, bring the driver in-line with all the 2003-12-02 07:57:20 +00:00
tx Remove duplicate FBSDID's, move others to their right place. 2003-11-14 17:16:58 +00:00
txp Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
uart Sometimes cardbus attachments don't attach, so while we track down 2003-11-28 05:28:29 +00:00
ubsec Use __FBSDID(). 2003-08-24 17:55:58 +00:00
usb Sometimes cardbus attachments don't attach, so while we track down 2003-11-28 05:28:29 +00:00
utopia Generate events when the carrier goes up or down. 2003-07-30 08:35:58 +00:00
vinum Initalize buffer headers correctly for current version of bio subsystem. 2003-11-24 04:06:56 +00:00
vr Drop the driver lock around calls to if_input to avoid a LOR when 2003-11-14 19:00:32 +00:00
vx Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
wds Use __FBSDID(). 2003-08-24 17:55:58 +00:00
wi Fix Lucent cards. 2003-12-02 04:59:59 +00:00
wl Drop the driver lock around calls to if_input to avoid a LOR when 2003-11-14 19:00:32 +00:00
xe Try to create some sort of consistency in how the routings to find the 2003-11-13 20:55:53 +00:00
zs - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00