| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Approved by: re (rwatson)
Notes:
svn path=/head/; revision=171513
|
| |
|
|
|
|
|
|
|
|
|
| |
- Keep last transaction label for each destination.
- If the next label is not free, just give up.
- This should reduce CPU load for TX on if_fwip under heavy load.
Approved by: re (hrs)
Notes:
svn path=/head/; revision=171457
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Handle directories and leaves other than unit directories and text leaves
correctly.
- Now we can retrieve CROM of iSight correctly.
Approved by: re (hrs)
Tested by: flz
MFC after: 3 days
Notes:
svn path=/head/; revision=171302
|
| |
|
|
| |
Notes:
svn path=/head/; revision=170427
|
| |
|
|
|
|
|
|
| |
- We are in FWBUSINIT state just after SID interrupt.
- Do not pass normal xfers before bus probe is done.
Notes:
svn path=/head/; revision=170425
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- lock its own locks and drop Giant.
- create its own taskqueue thread.
- split interrupt routine
- use interrupt filter as a fast interrupt.
- run watchdog timer in taskqueue so that it should be
serialized with the bottom half.
- add extra sanity check for transaction labels.
disable ad-hoc workaround for unknown tlabels.
- add sleep/wakeup synchronization primitives
- don't reset OHCI in fwohci_stop()
Notes:
svn path=/head/; revision=170374
|
| |
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=169829
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=169806
|
| |
|
|
|
|
|
|
|
|
| |
- Update state in fw_xferq_dorain() after removed from the send queue.
- Remove unnecessary 'goto err;".
MFC after: 1 week
Notes:
svn path=/head/; revision=169131
|
| |
|
|
|
|
|
|
|
|
|
| |
- Introduce fw_xferlist_add/remove().
- Introduce fw_read/write_async().
- Remove unused FWACT_CH.
MFC after: 1 week
Notes:
svn path=/head/; revision=169130
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=169127
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=169122
|
| |
|
|
|
|
|
|
|
|
|
| |
- Remove struct tl_label and runtime malloc() for it.
- Include tl_lable list in struct fw_xfer.
- Don't free unallocated tlabel.
MFC after: 1 week
Notes:
svn path=/head/; revision=169119
|
| |
|
|
|
|
|
| |
MFC: after 3 days
Notes:
svn path=/head/; revision=169117
|
| |
|
|
| |
Notes:
svn path=/head/; revision=168051
|
| |
|
|
|
|
|
|
|
|
| |
This should fix the problem that the first bus reset is
sometimes ignored because of FWBUSRESET status.
MFC after: 3 days
Notes:
svn path=/head/; revision=168050
|
| |
|
|
| |
Notes:
svn path=/head/; revision=167632
|
| |
|
|
| |
Notes:
svn path=/head/; revision=167631
|
| |
|
|
|
|
|
|
| |
It is unnecessary because retry is done by OHCI.
Further retry should be done by applications.
Notes:
svn path=/head/; revision=167630
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This shouldn't happen as far as the self-id buffer is vaild but
some people have this problem.
PR: kern/83999
Submitted by: Markus Wild <fbsd-lists@dudes.ch>
MFC after: 3 days
Notes:
svn path=/head/; revision=152792
|
| |
|
|
| |
Notes:
svn path=/head/; revision=139749
|
| |
|
|
|
|
|
|
|
| |
the free'd element, and ultimate NULL deref of the failed allocation.
MFC after: 1 week
Notes:
svn path=/head/; revision=139680
|
| |
|
|
| |
Notes:
svn path=/head/; revision=132771
|
| |
|
|
|
|
|
|
|
|
|
| |
for unknown events.
A number of modules return EINVAL in this instance, and I have left
those alone for now and instead taught MOD_QUIESCE to accept this
as "didn't do anything".
Notes:
svn path=/head/; revision=132199
|
| |
|
|
|
|
|
|
| |
instead of printing endless error messages on the console and discarding
the packet.
Notes:
svn path=/head/; revision=130460
|
| |
|
|
| |
Notes:
svn path=/head/; revision=129879
|
| |
|
|
|
|
|
| |
uint32_t where appropriate.
Notes:
svn path=/head/; revision=129585
|
| |
|
|
| |
Notes:
svn path=/head/; revision=129541
|
| |
|
|
|
|
|
|
| |
if a node on the bus has more than three ports (like my cheapo six
port hub).
Notes:
svn path=/head/; revision=129274
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
Notes:
svn path=/head/; revision=127468
|
| |
|
|
|
|
|
|
| |
Reported by: "Ted Unangst" <tedu@coverity.com>
Approved by: rwatson (mentor)
Notes:
svn path=/head/; revision=126102
|
| |
|
|
|
|
|
|
| |
bus on fwohci. This should fix attach failure caused by a race
between firewire and fwochi initialization for the kernel module.
Notes:
svn path=/head/; revision=125238
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=124251
|
| |
|
|
| |
Notes:
svn path=/head/; revision=124169
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
Notes:
svn path=/head/; revision=124145
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=122352
|
| |
|
|
| |
Notes:
svn path=/head/; revision=121505
|
| |
|
|
|
|
|
|
| |
Some transactions could be considered wrongly to be timeout
bacause interrupts are disabled during boot process.
Notes:
svn path=/head/; revision=121463
|
| |
|
|
|
|
|
|
|
|
| |
This MIB specifies how many bus resets should be observed before the
lost device entry is removed. The default value is 3.
You can set this value to 0 if you want a SBP device to be detached from CAM
layer as soon as the device is physically detached like USB.
Notes:
svn path=/head/; revision=120850
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=120660
|
| |
|
|
| |
Notes:
svn path=/head/; revision=119289
|
| |
|
|
|
|
|
|
|
| |
- /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.
Notes:
svn path=/head/; revision=118455
|
| |
|
|
| |
Notes:
svn path=/head/; revision=117732
|
| |
|
|
| |
Notes:
svn path=/head/; revision=117716
|
| |
|
|
|
|
|
|
|
| |
- Don't bump the generation if ROM has not changed and keep it
between 0x2 and 0xf.
- Refetch the ROM if CRC of the businfo block has changed.
Notes:
svn path=/head/; revision=117350
|
| |
|
|
| |
Notes:
svn path=/head/; revision=117067
|
| |
|
|
|
|
|
|
|
|
|
| |
- Initialize fc->status to process bus reset correctly after resume.
- Initialize AT ring buffer pointer.
- Requeue stdma to stfree for active IR buffer.
- Stop DMA before suspend for safe.
- Set powerstate after resume.
Notes:
svn path=/head/; revision=116978
|
| |
|
|
|
|
|
| |
- Improve probe message for S800 chips.
Notes:
svn path=/head/; revision=116376
|
| |
|
|
| |
Notes:
svn path=/head/; revision=115787
|
| |
|
|
|
|
|
|
|
|
|
| |
- Simplify and correct the bus manager election process.
- Check link_active when choosing cycle master.
- Fix location of the cmr bit.
Approved by: re (scottl)
Notes:
svn path=/head/; revision=114909
|