Hidetoshi Shimokawa
0981f5f00e
- replace timeout with callout_*.
...
- replace TAILQ with STAILQ for device list.
- some clean up.
2003-02-01 14:42:49 +00:00
Hidetoshi Shimokawa
3c62126d84
Check status FIFO more closely to report error.
2003-02-01 12:06:57 +00:00
Hidetoshi Shimokawa
0db3d1635c
Add basic support for device wiring down to specific (CAM)
...
target id. It still needs to be hard-coded now but will
be changed to be configured by tunables or device hints.
2003-02-01 08:55:33 +00:00
Hidetoshi Shimokawa
64cf5240a9
SBP related changes.
...
- Issue LOGOUT command on detach and shutdown.
- Rename some functions.
2003-01-31 14:11:22 +00:00
Hidetoshi Shimokawa
9bb3ca0305
SBP related changes.
...
- Set dual phase retry BUSY_TIMEOUT.
- Let users to know serial bus error.
2003-01-31 03:09:13 +00:00
Hidetoshi Shimokawa
449e559cdb
- Handle SCSI_STATUS_BUSY case.
2003-01-30 05:12:56 +00:00
Hidetoshi Shimokawa
e715bfae6c
Merge little and big endian case.
2003-01-24 12:45:19 +00:00
Alfred Perlstein
44956c9863
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.
...
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
2003-01-21 08:56:16 +00:00
Hidetoshi Shimokawa
ae8c82bbe9
Replace M_DONTWAIT with M_NOWAIT for malloc().
...
Pointed out by: nate@root.org
2003-01-17 15:15:21 +00:00
Hidetoshi Shimokawa
9a7d0adfaa
- Fix print format for FreeBSD-4
...
- Reduce debug message.
2003-01-07 12:58:08 +00:00
Hidetoshi Shimokawa
a423957600
Reduce diff to RELENG_4.
2003-01-05 14:58:45 +00:00
Hidetoshi Shimokawa
9339321d89
- Propagate suspend/resume to child devices.
...
- Restore pci config registers after resume.
- Reinitialize and start rx buffers after resume.
- Don't reallocate memory in fwohci_db_init() if the dbch is
already initialized.
- Fix typo.
- Some clean up.
2003-01-04 06:40:57 +00:00
Hidetoshi Shimokawa
6faac3ac96
Reduce debug message.
2003-01-01 08:22:29 +00:00
Hidetoshi Shimokawa
b018dcd1b8
- Implement primal Configuration ROM parser.
...
- Support multiple LUNs for SBP-II.
2002-12-31 10:28:49 +00:00
Hidetoshi Shimokawa
ee126d67f7
Cosmetic change. s/Firewire/FireWire/.
2002-12-26 06:50:09 +00:00
Hidetoshi Shimokawa
f3abec2274
Replace ntohl() with ntohs() because orb_hi is u_int16_t.
2002-12-26 06:41:37 +00:00
Hidetoshi Shimokawa
ac9f66922b
firewire.c
...
- Fix permission of device node.
fwochi.c, fwohcireg.h
- Detect phy access failure correct way.
- Set root hold-off bit before initiating bus reset.
This should fix the problem with VIA6306.
fwohcivar.h
- Fix over-allocation of array. (fwohcivar.h)
sbp.c
- Return CAM_DEV_NOT_THERE rather than CAM_TID_INVALID to prevent retry.
2002-12-26 03:17:59 +00:00
Hidetoshi Shimokawa
17c3d42c9e
Reduce and improve debug messages.
...
Approved by: re
2002-12-06 02:17:30 +00:00
Hidetoshi Shimokawa
70ce30b573
- Fix printf warnings on 64bit plathome.
...
- Disable fw_vmaccess() because it's not used and unuseful 64bit plathome.
2002-11-07 02:13:40 +00:00
Hidetoshi Shimokawa
1d3e59b1d3
Minor clean up on cdb handling.
2002-11-06 15:34:52 +00:00
Hidetoshi Shimokawa
06a93bac4f
- Dequeue OCBs more safely in sbp_abort_all_ocbs().
2002-10-23 13:04:02 +00:00
Hidetoshi Shimokawa
8e484a62c8
- Abort all OCBs for timeout.
...
- Improve warning message.
2002-10-21 15:36:59 +00:00
Hidetoshi Shimokawa
ba68cdd304
don't include bus_dma.h which doesn't need.
2002-09-21 15:05:22 +00:00
Hidetoshi Shimokawa
b24db4ddd9
remove unused code.
2002-09-21 14:48:07 +00:00
Katsushi Kobayashi
3c60ba66c4
Initial import for IEEE1394 OHCI chipdet device driver and SBP-2 (Serial
...
Bus Protocol 2:SCSI over IEEE1394) support for CAM.
2002-09-13 12:31:56 +00:00