summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire
Commit message (Collapse)AuthorAgeFilesLines
...
* Add configuration rom entries for IP over firewire.dfr2004-06-132-0/+28
|
* Add a new driver to support IP over firewire. This driver is intended todfr2004-06-132-0/+975
| | | | | | | | conform to the rfc2734 and rfc3146 standard for IP over firewire and should eventually supercede the fwe driver. Right now the broadcast channel number is hardwired and we don't support MCAP for multicast channel allocation - more infrastructure is required in the firewire code itself to fix these problems.
* Add missing <sys/module.h> includesphk2004-05-301-0/+1
|
* Don't try to copy out the result payload if there isn't one. This ioctldfr2004-05-231-6/+14
| | | | | interface really needs changing to split out the various async request types.
* We don't need to initialize if_output, ether_ifattach() does itmux2004-05-231-1/+0
| | | | for us.
* Initialise OHCI_CROMHDR and OHCI_BUS_OPT in fwohci_ibr to make sure thatdfr2004-05-231-0/+7
| | | | they have the right values at the first bus reset.
* Change u_intXX_t to uintXX_t. Change a couple of 'unsigned long's todfr2004-05-2218-573/+573
| | | | uint32_t where appropriate.
* Mark the capability of this driver to receive VLAN frames >1500 bytesyar2004-05-211-0/+1
| | | | | | as initially active in if_capenable since it is always on. Reviewed by: simokawa
* Fix spelling.dfr2004-05-213-13/+13
|
* Don't use the node id as an index into the topology map. This breaksdfr2004-05-161-2/+21
| | | | | if a node on the bus has more than three ports (like my cheapo six port hub).
* MFp4: FireWiresimokawa2004-03-2613-243/+449
| | | | | | | | | | | | | | | | | | | * 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.
* Fix a bug introduced in rev 1.33(mega API change).simokawa2004-03-241-1/+1
| | | | | | | Because xfer->send.payload is a pointer to the buffer, '&' shouldn't be there. Submitted by: John Weisgerber <weisgerberj@gsilumonics.com> PR: misc/64623
* Convert callers to the new bus_alloc_resource_any(9) API.njl2004-03-171-3/+2
| | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
* Check that xfer != NULL before dereferencing it, not after.cperciva2004-02-221-2/+2
| | | | | Reported by: "Ted Unangst" <tedu@coverity.com> Approved by: rwatson (mentor)
* Device megapatch 4/6:phk2004-02-211-3/+3
| | | | | | | | Introduce d_version field in struct cdevsw, this must always be initialized to D_VERSION. Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
* Device megapatch 1/6:phk2004-02-211-2/+0
| | | | | | | Free approx 86 major numbers with a mostly automatically generated patch. A number of strategic drivers have been left behind by caution, and a few because they still (ab)use their major number.
* Use the PCIR_BAR() macro rather than a magic number to specify the BARjhb2004-02-121-1/+1
| | | | for controller memory.
* Add NEC uPD72873.simokawa2004-01-302-0/+5
| | | | Submitted by: Christian Laursen <xi@borderworlds.dk>
* Use device_identify and bus_add_child methods to add a firewiresimokawa2004-01-303-30/+57
| | | | | bus on fwohci. This should fix attach failure caused by a race between firewire and fwochi initialization for the kernel module.
* * fwohci_pci.csimokawa2004-01-232-10/+17
| | | | | | | | Improve error message for attach failure. * sbp_targ.c - Add speed in struct sbp_targ_login. - Remove unnecessary htonl().
* Add missing free() in exception handlers.simokawa2004-01-222-2/+3
| | | | Reported by: Stanford Metacompilation research group
* Sync type of linkspeed with firewire.c.simokawa2004-01-111-1/+1
|
* * firewiresimokawa2004-01-083-18/+34
| | | | | | | | | | Add tcode_str[] and improve debug message. * sbp If max_speed is negative, use the maximum speed which the ohci chip supports. The default max_speed is -1. * if_fwe If tx_speed is negative, use the maximum speed which the ohci chip supports. The default tx_speed is 2.
* Remove __P().simokawa2004-01-066-126/+126
|
* Fix register mis-alignment introduced in rev1.12.simokawa2004-01-061-33/+34
|
* MFp4:simokawa2004-01-056-29/+27
| | | | | | | | | | | * firewire - Remove pending list. - Ignore timeout for the FWXF_START state. - Define M_FWMEM for debugging. - Comment out DELAY() in fw_asybusy(). - Improve debugging messages * sbp - Freeze simq while bus reset.
* Catch a few places where NULL (pointer) was used where 0 (integer) waspeter2003-12-231-4/+4
| | | | expected.
* Fix panic.simokawa2003-12-131-6/+2
| | | | | - Don't call sbp_targ_status_FIFO() twice for LOGIN error. - Don't access login if it's NULL.
* MFp4:simokawa2003-12-112-129/+310
| | | | | | - Introduce sbp_targ_login instead of sbp_targ_istate. - Implement reconnection and logout. - Freeze simq while bus reset.
* Sometimes cardbus attachments don't attach, so while we track downimp2003-11-281-0/+1
| | | | | | | | this problem put these lines back in. While they should be unnecessary, they appear to be sometimes necessary. Reviewed in concept: dfr Approved by: re (scottl@)
* Add tunables.simokawa2003-11-131-4/+10
|
* Improve debug message.simokawa2003-11-122-9/+9
|
* - Reserve a ocb for management ORB.simokawa2003-11-121-2/+6
| | | | - Requeue XPT_SCSI_IO if ocb is short.
* Oops, fix typo in my name.simokawa2003-11-122-4/+4
|
* Reduce debug message.simokawa2003-11-101-0/+2
|
* * Improve sbp device probe in boot process.simokawa2003-11-101-15/+50
| | | | | | | | | - Notify BUS RESET to CAM in sbp_attach(). - Use last bus reset time to determine login delay. Tested by: imura * Add some sysctl MIB and tunables.
* - Implement selwakeuppri() which allows raising the priority of atanimura2003-11-091-1/+1
| | | | | | | | | | | | | thread being waken up. The thread waken up can run at a priority as high as after tsleep(). - Replace selwakeup()s with selwakeuppri()s and pass appropriate priorities. - Add cv_broadcastpri() which raises the priority of the broadcast threads. Used by selwakeuppri() if collision occurs. Not objected in: -arch, -current
* Allow shared open of /dev/fwmem* for read-only.simokawa2003-11-071-16/+42
|
* Respect a return code of fwmem_open().simokawa2003-11-071-3/+3
|
* Increase FWMAXQUEUE up to 128.simokawa2003-11-071-1/+1
|
* Add compatibility for 4-stable.simokawa2003-11-071-0/+5
| | | | Submitted by: imura
* Use if_printf() for FWEDEBUG.simokawa2003-11-061-7/+7
|
* - Change driver name to fix if_xname breakage in the previous revision.simokawa2003-11-031-3/+3
| | | | | | - Don't call device_get_unit() twice. Tested by: nork
* Remove explicit cardbus attachments from drivers where this is identicaldfr2003-11-031-1/+0
| | | | | | | to the pci attachment. Cardbus is a derived class of pci so all pci drivers are automatically available for matching against cardbus devices. Reviewed by: imp
* Replace the if_name and if_unit members of struct ifnet with new membersbrooks2003-10-311-6/+5
| | | | | | | | | | | | | if_xname, if_dname, and if_dunit. if_xname is the name of the interface and if_dname/unit are the driver name and instance. This change paves the way for interface renaming and enhanced pseudo device creation and configuration symantics. Approved By: re (in principle) Reviewed By: njl, imp Tested On: i386, amd64, sparc64 Obtained From: NetBSD (if_xname)
* Add a new sysctl MIB to control exclusive login.simokawa2003-10-311-1/+6
|
* Reject too large OHCI version number.simokawa2003-10-311-4/+5
| | | | | Invalid OHCI version indicates OHCI registers are not mapped correctly in PCI or CardBus layer.
* Add a compatibility macro for FreeBSD-4.simokawa2003-10-311-0/+1
|
* Fix fwmem_strategy() race in 4-stable.simokawa2003-10-252-1/+6
|
* Move validity check of 'xfer->fc != NULL' to right place.simokawa2003-10-251-4/+4
|
OpenPOWER on IntegriCloud