freebsd-dev/sys/dev
Marius Strobl 85de9f54f8 o Move the MODULE_DEPEND() for cam(4) from the esp_sbus.c front-end to
the ncr53c9x.c core where it actually belongs so future front-ends
  don't need to add it.
o Use the correct OFW property when looking for the initiator ID of the
  SBus device.
o Don't specify an alignment when creating the parent DMA tag for
  SUNW,fas; their DMA engine doesn't require an alignment constraint
  and it's no inherited by the child DMA tags anyway (which probably
  is a bug though).
o Drop the superfluous sc_maxsync and use sc_minsync instead. The
  former apparently was added due to a confusion with the maximum
  frequency used in cam(4), which basically corresponds to the
  inverse of minimum sync period.
o Merge ncr53c9x.c from NetBSD:
  1.116: NCRDMA_SETUP() should be called before NCR_SET_COUNT() and
         NCRCMD_DMA command in ncr53c9x_select().
  1.125: free allocated resources on detach.
o Static'ize ncr53c9x_action(), ncr53c9x_init() and ncr53c9x_reset()
  as these are not required outside of ncr53c9x.c.
o In ncr53c9x_attach() don't leak the device mutex in case attaching
  fails.
o Register an asynchronous notification handler so in case cam(4)
  reports a lost device we can cancel outstanding commands and
  restore the default parameters for the target in question.
o For FAS366 correctly support 16-bit target IDs and let it know
  that we use 32-bit transfers.
o Overhaul the negotiation of transfer settings. This includes
  distinguishing between current and goal transfer settings of the
  target so we can renegotiate their goal settings when necessary
  and correcting the order in which tagged, wide and synchronous
  transfers are negotiated.
o If we are requesting sense, force a renegotiation if we are
  currently using anything different from asynchronous at 8 bit
  as the target might have lost our transfer negotiations.
o In case of an XPT_RESET_BUS just directly call ncr53c9x_init()
  instead of issuing a NCRCMD_RSTSCSI, which in turn will issue an
  interrupt that is treated as an unexpected SCSI bus reset by
  ncr53c9x_intr() and thus calls ncr53c9x_init(). Remove the now
  no longer used ncr53c9x_scsi_reset().
o Correct an off-by-one error when setting cpi->max_lun.
o In replace printf(9) with device_printf(9) calls where appropriate
  and in ncr53c9x_action() remove some unnecessarily verbose messages.
o In ncr53c9x_sched() use TAILQ_FOREACH() instead of reimplementing
  it and consolidate two tagging-related target info checks into one.
o In ncr53c9x_done() set the CAM status to CAM_SCSI_STATUS_ERROR when
  appropriate, respect CAM_DIS_AUTOSENSE and teach it to return SCSI
  status information.
o In ncr53c9x_dequeue() ensure the tags are cleared.
o Use ulmin() instead of min() where appropriate.
o In ncr53c9x_msgout() consistently use the reset label.
o When we're interrupted during a data phase and the DMA engine is
  still active, don't panic but reset the core and the DMA engine as
  this should be sufficient. Also, the typical problem for triggering
  this was the lack of renegotiation when requesting sense.
o Correctly handle DEVICE RESETs.
o Adapt the locking of esp(4) to MPSAFE cam(4). This includes moving
  the calls of lsi64854_attach() to the bus front-ends so it can pass
  the esp(4) mutex to bus_dma_tag_create(9).
o Change the LSI64854 driver to not create a DMA tag and map for the
  Ethernet channel as le(4) will handle these on its own as well as
  sync and unload the DMA maps for the SCSI and parallel port channel
  after a DMA transfer.
o Cam(4)'ify some NetBSD-centric comments.
o Use bus_{read,write}_*(9) instead of bus_space_{read,write}_*(9)
  and take advantage of rman_get_rid(9) in order to save some softc
  members.

Reviewed by:	scottl
MFC after:	1 month
2008-09-08 20:20:44 +00:00
..
aac Add explicit PCI IDs for the following Adaptec RAID Series 2 adapters: 2008-06-27 19:34:47 +00:00
acpi_support Fix a typo in a comment in the ACPI Fujitsu driver. 2008-09-08 06:29:24 +00:00
acpica Handle errors from device_get_children. 2008-08-23 16:38:20 +00:00
adlink Set D_NEEDGIANT. 2007-08-04 17:43:11 +00:00
advansys Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
age Fix a typo: jme -> age 2008-08-14 02:43:18 +00:00
agp When device_get_children returns an error, ignore that bus' children. 2008-08-23 15:57:43 +00:00
aha Minor typo fix, caught while skimming through the file. 2008-08-10 15:10:39 +00:00
ahb Fix a compile error from the last change. 2007-06-17 15:21:09 +00:00
aic Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
aic7xxx Only print sense data diagnostics if debugging is enabled with the 2008-02-17 16:00:36 +00:00
amd Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
amr While spin-waiting for the mailbox semaphore to update, do flushing reads of 2008-07-20 16:50:14 +00:00
an Style changes from avatar. 2008-01-18 16:34:18 +00:00
ar
arcmsr Fix an incorrect FreeBSD version test. 2007-12-09 19:24:27 +00:00
asmc Add support for MacBook Air. (not tested) 2008-09-07 18:15:34 +00:00
asr Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
ata Add one more SII3132 chip PCI ID found on Adaptec Serial ATA II RAID 1220SA. 2008-09-04 10:27:58 +00:00
ath Change the calling convention for ic_node_alloc to deal with 2008-06-07 18:38:02 +00:00
atkbdc Fill in sysctl descriptions. 2008-07-26 00:01:19 +00:00
auxio
bce - Updated support for 5716. 2008-08-27 18:47:24 +00:00
bfe Add a new sysctl node 'dev.bfe.N.stats' that shows various MAC 2008-08-22 06:46:55 +00:00
bge bge_tick(): do not touch PHY if link is up. This should solve problem with 2008-09-08 18:10:15 +00:00
bktr Add locking to the various iicbus(4) bridge drivers: 2008-08-04 20:46:15 +00:00
bm Fix a multiple locking bug in bm(4) that could cause panics on a WITNESS-enabled kernel. 2008-09-02 02:50:52 +00:00
buslogic Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
cardbus Make the PCI code aware of PCI domains (aka PCI segments) so we can 2007-09-30 11:05:18 +00:00
ce Fix instances of bogus #elsif directive. 2008-07-01 14:41:03 +00:00
ciss Work again to fix the interrupt masking problems. We now recognize 2008-08-29 01:23:16 +00:00
cm Spelling fix for interupt -> interrupt 2007-10-12 06:03:46 +00:00
cmx Commit cmx(4), a driver for Omnikey CardMan 4040 PCMCIA smartcard readers. 2008-03-06 08:09:45 +00:00
coretemp style(9): remove FreeBSD CVS ID from the initial license comment. 2008-05-14 10:02:25 +00:00
cp Do not set IFF_DEBUG directly from the driver. 2008-06-30 21:18:27 +00:00
cpuctl Remove unneeded D_NEEDMINOR from cpuctl(4). 2008-09-01 18:56:01 +00:00
cpufreq Attach the cpufreq child devices with specific orders to enforce relative 2008-08-13 16:09:40 +00:00
cs Improve the EEPROM parsing, based on finding a datasheet that describes 2008-07-09 16:47:55 +00:00
ct
ctau Do not set IFF_DEBUG directly from the driver. 2008-06-30 21:18:27 +00:00
cx Do not set IFF_DEBUG directly from the driver. 2008-06-30 21:18:27 +00:00
cxgb New file missed vimagification. 2008-09-03 19:23:01 +00:00
cy
dc For chips with a broken DC_ISR_RX_STATE which f.e. never signals 2008-08-29 20:31:41 +00:00
dcons Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
de During attach on some de(4) adapters the driver sends out a test packet as 2008-04-05 17:24:44 +00:00
digi
dpt Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
drm Don't return EINVAL when trying to unlock. 2008-08-30 01:00:18 +00:00
e1000 Update to igb driver: 2008-08-28 22:28:28 +00:00
ed When the miibus for the AX88x90 or TC5299J cards fails to attach, we 2008-08-06 22:22:27 +00:00
eisa
en Replaced the misleading uses of a historical artefact M_TRYWAIT with M_WAIT. 2008-03-25 09:39:02 +00:00
ep
esp o Move the MODULE_DEPEND() for cam(4) from the esp_sbus.c front-end to 2008-09-08 20:20:44 +00:00
et Don't leak DMA map if not freed. 2008-07-11 18:26:12 +00:00
ex Add preliminary support for the OLICOM OC2231 and OC2232. This is the 2008-08-27 04:11:03 +00:00
exca
fatm Replaced the misleading uses of a historical artefact M_TRYWAIT with M_WAIT. 2008-03-25 09:39:02 +00:00
fb Convert amd64 and i386 to share the atrtc device driver. 2008-04-14 08:00:00 +00:00
fdc The wakeup() line from the rev. 1.319 is wrong and reintroduces 2008-01-11 16:50:52 +00:00
fe - Use bus_foo() rather than bus_space_foo() and retire the bus tag and handle 2008-06-23 18:16:25 +00:00
firewire Commit step 1 of the vimage project, (network stack) 2008-08-17 23:27:27 +00:00
flash Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
fxp Reuse the mbuf that was just retrieved from the receive ring if mbuf 2008-03-22 18:13:39 +00:00
gem - Restore the behavior of enabling the MII buffer for an internal 2008-08-23 15:03:26 +00:00
glxsb - Convert sc_sessions_mtx mutex to a rwlock, so in the fast path 2008-08-11 08:41:08 +00:00
hatm Give MEXTADD() another argument to make both void pointers to the 2008-02-01 19:36:27 +00:00
hifn
hme - Use the revamped code from the gem(4) PCI front-end, which 2008-04-26 14:17:21 +00:00
hptiop Update the hptiop driver to version 1.3. This adds support for the 4xxx 2008-02-03 16:07:12 +00:00
hptmv Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
hptrr Fix a mistake made during the import of the driver. Previous versions of 2008-03-08 18:06:48 +00:00
hwpmc - Provide kernelname as the name for process with P_KTHREAD set as 2008-07-25 05:49:48 +00:00
ic - Cleanup i8251 related defines. 2008-09-07 04:35:04 +00:00
ichsmb - Use bus_foo() rather than bus_space_foo() and remove bus space tag/handle 2008-06-06 18:29:56 +00:00
ichwd Add more PCI IDs including those for ICH10. 2008-08-25 15:23:54 +00:00
ida
ie Use the new bus device_shutdown hook for performing the shutdown action 2008-08-01 21:33:07 +00:00
ieee488 Remove the distinction between device minor and unit numbers. 2008-05-29 12:50:46 +00:00
if_ndis Fix a mutex LOR introduced by the conversion of if_ndis from spinlocks to 2008-07-09 00:10:55 +00:00
iicbus Streamline #include sections in ds133x and ds1672 drivers. This unbreaks the 2008-09-08 15:49:07 +00:00
iir Fix a buffer overflow in the processing of various SCSI commands. This likely 2008-01-09 20:02:56 +00:00
io Remove D_NEEDGIANT from io(4). 2008-08-08 13:43:56 +00:00
ipmi Remove hack attempt at using devfs cloning for per-file descriptor storage. 2008-08-28 02:13:53 +00:00
ips
ipw Minor cleanup of vap create work: 2008-05-12 00:15:30 +00:00
iscsi/initiator Record the dependency of the iscsi initiator on cam. 2008-04-20 15:56:59 +00:00
isp Add missing locking for SBus controllers. 2007-11-05 11:22:18 +00:00
ispfw
iwi Change the calling convention for ic_node_alloc to deal with 2008-06-07 18:38:02 +00:00
iwn Change the calling convention for ic_node_alloc to deal with 2008-06-07 18:38:02 +00:00
ixgb
ixgbe This updates the ixgbe driver to Intel internal version 1.4.7 2008-07-30 18:15:18 +00:00
jme Fix buffer discard index. 2008-07-28 02:37:15 +00:00
joy
k8temp Fix the sysctl function parameters. We were only querying Sensor 0. 2008-09-03 13:34:31 +00:00
kbd Don't include <sys/tty.h> in non-TTY drivers. 2008-07-24 09:54:10 +00:00
kbdmux Don't include <sys/tty.h> in non-TTY drivers. 2008-07-24 09:54:10 +00:00
le o Move the MODULE_DEPEND() for cam(4) from the esp_sbus.c front-end to 2008-09-08 20:20:44 +00:00
led Add sbuf_new_auto as a shortcut for the very common case of creating a 2008-08-09 11:14:05 +00:00
lge Plug memory leak in jumbo buffer allocation failure path. 2008-03-05 05:36:09 +00:00
lmc Make lmc(4) compile without INET6 defined[1]. While here make it 2008-08-24 18:27:19 +00:00
malo Minor cleanup of vap create work: 2008-05-12 00:15:30 +00:00
mc146818 Export mc146818_def_{read,write}() so the front-end can make use 2007-06-16 23:10:00 +00:00
mca
mcd
md Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed thread 2008-08-28 15:23:18 +00:00
mem
mfi Fix style nit: s/^ }/}/ in two places. 2008-08-23 23:30:54 +00:00
mii Recognize 88E1116R phy variation. This part is found on some embedded devices. 2008-09-04 11:09:40 +00:00
mk48txx
mlx
mly Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
mmc Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
mpt Allocate a single CCB at the start of the main loop of the RAID monitoring 2008-07-21 18:43:02 +00:00
mse
msk Move comments block 1 line up to remark on the setting 2008-03-11 02:39:52 +00:00
mxge Adapt mxge shims to detect phys contig jumbo frames 2008-08-21 16:35:34 +00:00
my Spelling fix for interupt -> interrupt 2007-10-12 06:03:46 +00:00
ncv
nfe Add support for MCP73 chips. 2008-04-10 01:25:09 +00:00
nge Fix function prototype for device_shutdown method. 2007-11-22 02:45:00 +00:00
nmdm Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
nsp
null
nve Import rewritten nve device id's, which brings this more 2008-05-31 14:17:36 +00:00
nvram - Use an sx lock to serialize writes since they update the checksum. 2008-08-01 20:39:18 +00:00
nxge Merge Neterion if_nxge driver version 2.0.9.11230 with the following 2007-10-29 14:19:32 +00:00
ofw Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
patm Give MEXTADD() another argument to make both void pointers to the 2008-02-01 19:36:27 +00:00
pbio
pccard Remove opt_wi.h from module and fix typo in pccarddevs. 2008-08-27 05:43:46 +00:00
pccbb Read the config space of the child, not the bridge, to determine when 2008-08-10 09:55:14 +00:00
pcf - Consolidate module version for the pcf module into just pcf.c instead 2008-08-05 17:39:37 +00:00
pci Style nit. Continued lines are indented 2 spaces in this file. 2008-09-03 06:57:21 +00:00
pcn Move pcn driver from sys/pci to sys/dev/pcn. 2008-08-14 20:34:46 +00:00
pdq
powermac_nvram Redefine bus_space_tag_t on PowerPC from a 32-bit integral to 2007-12-19 18:00:50 +00:00
ppbus Whitespace fix. 2008-08-22 18:42:18 +00:00
ppc Remove unneeded include. 2008-08-29 12:23:51 +00:00
pst
puc Add the Decision Computer Inc, PCCOM 8-port serial card. 2008-08-22 00:13:17 +00:00
quicc Support for Freescale QUad Integrated Communications Controller. 2008-03-03 18:20:17 +00:00
ral Change the calling convention for ic_node_alloc to deal with 2008-06-07 18:38:02 +00:00
random Correct a random value disclosure in random(4). 2007-11-29 16:06:12 +00:00
ray add defs just removed from ieee80211.h 2007-09-05 21:25:58 +00:00
rc
re Read ethernet address from ID registers for RTL8102E/RTL8102EL as 2008-09-06 00:25:16 +00:00
rndtest
rp Initialize DWBuf[3]. 2007-07-05 06:51:49 +00:00
safe bandaid crash as I have no time to research the issue and the driver 2007-11-03 19:10:14 +00:00
scc With rev 1.24 of sys/powerpc/powermac/macio.c, we now get a 2008-04-26 18:40:59 +00:00
scd
sf Fix build. 2008-01-21 09:51:28 +00:00
si Pass 1 of mpsafetty-ifying si(4). It compiles and has basic functionality, 2008-09-08 11:41:20 +00:00
sio Expand kdb_alt_break a little, most commonly used with the option 2008-05-04 23:29:38 +00:00
sis There actually were bugs in the original handling that I missed last 2008-08-23 15:34:31 +00:00
sk Prefer NULL over integer 0 for pointer type. 2008-02-14 01:25:01 +00:00
smbus - Store the device_t of the smbX device in the softc. 2008-06-06 18:45:32 +00:00
smc - Move ether_ifdetach earlier. 2008-06-17 05:48:42 +00:00
sn
snc Convert to new style PC Card front end driver. Add support for the 2008-08-07 20:55:20 +00:00
snp Convert the snp(4) driver to use cdevpriv. 2008-08-15 13:07:07 +00:00
sound Fix deactivation of speakers while plugging in headphones on Fujitsu 2008-09-07 20:25:19 +00:00
speaker Move speaker a lot closer to style(9) 2008-05-15 01:22:48 +00:00
spibus
sr
ste Move the ste driver from sys/pci to sys/dev/ste. 2008-08-14 20:09:58 +00:00
stg
stge Use m_collapse(9) to collapse mbuf chains instead of relying on 2008-01-18 08:32:08 +00:00
streams Make ftruncate a 'struct file' operation rather than a vnode operation. 2008-01-07 20:05:19 +00:00
sym Allow 53C1010 without NVRAM to negotiate Ultra-3. 2008-08-07 23:41:17 +00:00
syscons Disable processing of output data after disabling scroll lock by force. 2008-08-31 10:17:40 +00:00
tdfx Add the module dependency on the mem(4) module. This will fix the module 2008-03-13 14:08:41 +00:00
ti Remove some remnant alpha hacks. 2008-04-26 14:13:48 +00:00
tl Move the tl driver form sys/pci to sys/dev/tl. 2008-08-14 20:02:34 +00:00
trm Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
tsec tsec: Refactor driver's structure. 2008-08-26 10:41:49 +00:00
twa Deferred interrupts don't work yet, disable them. 2007-10-12 16:51:22 +00:00
twe Add missing \n. 2008-02-12 08:58:26 +00:00
tx Make tx(4) MPSAFE 2008-06-10 17:59:43 +00:00
txp Read MII_ANAR register and get common denominator ability. 2007-11-16 10:32:10 +00:00
uart Use bus_space_compare() rather than i386_memio_compare() directly. 2008-09-07 04:47:39 +00:00
ubsec
usb Keep track of the active buffer on output. For the moment, panic if 2008-09-05 20:49:45 +00:00
utopia Fix a use-after-free. 2007-12-05 19:32:59 +00:00
vge Fix function prototype for device_shutdown method. 2007-11-22 02:45:00 +00:00
vkbd Don't enforce unique device minor number policy anymore. 2008-06-11 18:55:19 +00:00
vr Fix a multicast handling regression on VT6105M introduced in 2008-07-16 08:35:29 +00:00
vx MFp4: Network Adapter is redundant. 2008-08-25 05:20:17 +00:00
watchdog
wb Move wb driver from sys/pci to sys/dev/wb. 2008-08-14 21:26:29 +00:00
wds Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
wi Remove opt_wi.h 2008-08-27 05:39:44 +00:00
wl
wpi Correct detection of particular wpi cards which only support b/g 2008-08-24 22:42:39 +00:00
xe Style(9) xe(4). The MD5 sums are different, but comparing the dissassemblies 2008-06-04 20:26:57 +00:00
xen Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed thread 2008-08-28 15:23:18 +00:00
xl Move the xl driver form sys/pci to sys/dev/xl for consistency. 2008-08-10 09:45:52 +00:00