summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/firewire.h
Commit message (Collapse)AuthorAgeFilesLines
* Configuration ROM length should be unsigned.simokawa2007-04-241-1/+1
| | | | MFC: 1 week
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-061-1/+1
|
* Change u_intXX_t to uintXX_t. Change a couple of 'unsigned long's todfr2004-05-221-53/+53
| | | | uint32_t where appropriate.
* MFp4: FireWiresimokawa2004-03-261-1/+1
| | | | | | | | | | | | | | | | | | | * all - s/__FUNCTION__/__func__/. Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> - Compatibility for RELENG_4 and DragonFly. * firewire - Timestamp just before queuing. - Retry bus probe if it fails. - Use device_printf() for debug message. - Invalidiate CROM while update. - Don't process minimum/invalid CROM. * sbp - Add ORB_SHORTAGE flag. - Add sbp.tags tunable. - Revive doorbell support. It's not enabled by default.
* Increase FWMAXQUEUE up to 128.simokawa2003-11-071-1/+1
|
* MFp4: Change struct fw_xfer to reduce memory copy in fwmem_*() functions.simokawa2003-10-021-6/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And many changes. * all - Major change of struct fw_xfer. o {send,recv}.buf is splitted into hdr and payload. o Remove unnecessary fields. o spd is moved under send and recv. - Remove unnecessary 'volatile' keyword. - Add definition of rtcode and extcode. * firewire.c - Ignore FWDEVINVAL devices in fw_noderesolve_nodeid(). - Check the existance of the bind before call STAILQ_REMOVE(). - Fix bug in the fw_bindadd(). - Change element of struct fw_bind for simplicity. - Check rtcode of response packet. - Reduce split transaction timeout to 200 msec. (100msec is the default value in the spec.) - Set watchdog timer cycle to 10 Hz. - Set xfer->tv just before calling fw_get_tlabel(). * fwohci.c - Simplifies fwohci_get_plen(). * sbp.c - Fix byte order of multibyte scsi_status informations. - Split sbp.c and sbp.h. - Unit number is not necessary for FIFO¤ address. - Reduce LOGIN_DELAY and SCAN_DELAY to 1 sec. - Add some constants defineded in SBP-2 spec. * fwmem.c - Introduce fwmem_strategy() and reduce memory copy.
* Allow to access phy registers via ioctl().simokawa2003-08-191-0/+2
|
* Change device name notation.simokawa2003-08-051-1/+2
| | | | | | - /dev/fw{,mem}X.Y represents the Y'th unit on the X'th bus. - /dev/fw{,mem}X is an alias of fw{,mem}X.0 for compatibility. - Clone devices.
* Clean up fwdev.simokawa2003-08-011-2/+2
| | | | | Allocate iso DMA channel dynamically. This allows us to have more /dev/fw* than number of DMA channels for asyn. transactions and etc.
* MFp4(simokawa_firewire):simokawa2003-04-171-179/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many internal structure changes for the FireWire driver. - Compute CRC in CROM parsing. - Add support for configuration ROM build. - Simplify dummy buffer handling. - busdma conversion - Use swi_taskqueue_giant for -current. Mark the interrupt routine as MPSAFE. - AR buffer handling. Don't reallocate AR buffer but just recycle it. Don't malloc and copy per packet in fwohci_arcv(). Pass packet to fw_rcv() using iovec. Application must prepare receiving buffer in advance. - Change fw_bind API so that application should pre-allocate xfer structure. - Add fw_xfer_unload() for recycling struct fw_xfer. - Add post_busreset hook - Remove unused 'sub' and 'act_type' in struct fw_xfer. - Remove npacket from struct fw_bulkxfer. - Don't call back handlers in fwochi_arcv() if the packet has not drained in AT queue - Make firewire works on big endian platform. - Use native endian for packet header and remove unnecessary ntohX/htonX. - Remove FWXFERQ_PACKET mode. We don't use it anymore. - Remove unnecessary restriction of FWSTMAXCHUNK. - Don't set root node for phy config packet if the root node is not cycle master capable but set myself for root node. We should be the root node after next bus reset. Spotted by: Yoshihiro Tabira <tabira@scd.mei.co.jp> - Improve self id handling Tested on: i386, sparc64 and i386 with forced bounce buffer
* MFp4(simokawa_sbp)simokawa2003-03-061-1/+1
| | | | | | | | | | Improve if_fwe performance. - Simplify mbuf handling by using bulkxfer. Now, it uses mbuf clusters for RX buffer as usual ethernet drivers. - Recycle struct xfer buffer and don't call malloc at runtime. - Count input and output errors. - Handle a mbuf chain longer than 6 correctly. - Increase queue length.
* Add new ioctl to specify target EUI64 for fwmem.simokawa2003-02-091-0/+3
|
* - replace timeout with callout_*.simokawa2003-02-011-0/+2
| | | | | - replace TAILQ with STAILQ for device list. - some clean up.
* Change API of FW_GDEVLST ioctl.simokawa2003-01-251-9/+15
| | | | | | - include information about itself. - define struct fw_devinfo and use it in struct fw_devlstreq. - unify EUI64 representation using struct fw_eui64.
* Remove FW_SSTDV ioctl. It is not used anymore.simokawa2003-01-241-0/+2
|
* Merge little and big endian case.simokawa2003-01-241-213/+127
|
* - Change definition of fc->maxrec same as fwdev->maxrec.simokawa2003-01-051-0/+1
| | | | | | - 'spec' and 'ver' are attributes of a unit rather than a node. - Report Phy and Link info separatelly. - Reorder intialization step in fwohci_reset().
* - Remove speed_map API because speed_map is obsoleted by 1394a.simokawa2003-01-041-1/+0
| | | | - Add definition of OHCI_HCC_BIBIV in fwohcireg.h.
* Cosmetic change. s/Firewire/FireWire/.simokawa2002-12-261-1/+1
|
* Firewire device support for Apple eMac with PPC kernel.ikob2002-09-171-0/+6
| | | | Contributed by Peter Grehan <grehan@freebsd.org>
* Initial import for IEEE1394 OHCI chipdet device driver and SBP-2 (Serialikob2002-09-131-0/+565
Bus Protocol 2:SCSI over IEEE1394) support for CAM.
OpenPOWER on IntegriCloud