Sync with FreeBSD:
authorPeter Avalos <pavalos@dragonflybsd.org>
Sat, 5 Jan 2008 07:27:09 +0000 (07:27 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sat, 5 Jan 2008 07:27:09 +0000 (07:27 +0000)
commitd3de56d87fddfd34e06ff6982c350d9341cd5d50
treea1d078a82090eca8ada8d423a798e7833d51db23
parent05ac8950c98ae131b234cbb55543f97dac0465d1
Sync with FreeBSD:

Eliminate support for oldcard by removing the compat shims.

Convert callers to the new bus_alloc_resource_any(9) API.

Initialize variable to fix possible warning.

Use cam_calc_geometry().

Be consistent about "static" functions.

Support for LG GM82C700, an AIC6360 clone.

Add PnP IDs for AHA-1530 and AHA-1520 cards.

Enable 10MHz (fast SCSI) operation on boards that support it.

Bounds check sync periods and offsets passed in from the transport layer.

Tell the user which resource allocation failed (for the ISA probe) if we
weren't able to allocate an IRQ, DRQ or I/O port.

Remove unneeded includes.

Obtained-from: FreeBSD
sys/dev/disk/aic/aic.c
sys/dev/disk/aic/aic6360reg.h
sys/dev/disk/aic/aic_isa.c
sys/dev/disk/aic/aic_pccard.c
sys/dev/disk/aic/aicvar.h