simokawa
6aefd6f566
Merge big endian and little endian case.
...
Fill fdf bit fields and others.
2003-01-13 15:08:48 +00:00
simokawa
212d0ee2a6
- Add error messages for bulkxfer.
...
- Reduce register access.
2003-01-09 10:25:07 +00:00
simokawa
b41e588b14
- Fix print format for FreeBSD-4
...
- Reduce debug message.
2003-01-07 12:58:08 +00:00
simokawa
c771fcdd61
Don't call fw_bus_probe() twice when successive self-id packets received.
...
This change should stabilize SBP-II device probing.
2003-01-07 04:26:45 +00:00
simokawa
7d45be69e1
Use device_printf() and s/fc->dev/fc->bdev/.
2003-01-06 08:07:20 +00:00
simokawa
dc45c76582
Fix fc->dev to fc->bdev.
2003-01-06 05:57:48 +00:00
simokawa
36f295a49d
Reduce diff to RELENG_4.
2003-01-05 14:58:45 +00:00
simokawa
c5a72d1412
Syntax fix in fwohci_pci_suspend().
2003-01-05 09:12:47 +00:00
simokawa
0e54246592
- Change definition of fc->maxrec same as fwdev->maxrec.
...
- 'spec' and 'ver' are attributes of a unit rather than a node.
- Report Phy and Link info separatelly.
- Reorder intialization step in fwohci_reset().
2003-01-05 06:21:30 +00:00
simokawa
f1c859a3c5
- Remove speed_map API because speed_map is obsoleted by 1394a.
...
- Add definition of OHCI_HCC_BIBIV in fwohcireg.h.
2003-01-04 16:03:50 +00:00
simokawa
f588520584
- Handle zero sized directory right way.
...
- Staticize.
2003-01-04 10:32:31 +00:00
simokawa
add68c49b8
- Replace printf() with device_printf().
...
- Separate fc->dev (i.e. fwohci0) and fc->bdev (i.e. firewire0).
- Remove unused firewirebusreg.h.
- Reduce size of descriptor block for asynchronous transmit and
check the number of descriptor when copying from mbuf.
- Skip mbuf whose length is zero. NFS seems passing such mbuf and
some chips generates unrecoverable error.
2003-01-04 10:21:11 +00:00
simokawa
5914915190
- 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
simokawa
f938a61829
Experimental support for suspend/resume, not finished yet.
2003-01-01 08:25:32 +00:00
simokawa
7f7b3dea2b
Reduce debug message.
2003-01-01 08:22:29 +00:00
simokawa
230497406e
- Retry phy access when the wait-loop count is exhausted.
...
- Free allocated memory when detaching.
- Detect contigmalloc failure.
2003-01-01 04:23:54 +00:00
simokawa
5241028c0c
Fix and add several device IDs.
2002-12-31 13:43:44 +00:00
simokawa
11e84e3552
- Implement primal Configuration ROM parser.
...
- Support multiple LUNs for SBP-II.
2002-12-31 10:28:49 +00:00
simokawa
8e3722443a
Improve error checking of phy access and retry when error occurs.
2002-12-31 10:00:36 +00:00
simokawa
996afb0c07
- Add more CSR related definitions (IEEE-1212).
...
- Fix struct csrtext's spec fields.
- Add prototypes of upcoming configuration ROM related functions.
2002-12-30 09:41:32 +00:00
simokawa
2403926428
Cosmetic change. s/Firewire/FireWire/.
2002-12-26 06:50:09 +00:00
simokawa
e90de498fd
Replace ntohl() with ntohs() because orb_hi is u_int16_t.
2002-12-26 06:41:37 +00:00
simokawa
7020b89b47
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
simokawa
9c9831e97c
Reduce and improve debug messages.
...
Approved by: re
2002-12-06 02:17:30 +00:00
sam
14c32b5f40
network interface driver changes:
...
o don't strip the Ethernet header from inbound packets; pass packets
up the stack intact (required significant changes to some drivers)
o reference common definitions in net/ethernet.h (e.g. ETHER_ALIGN)
o track ether_ifattach/ether_ifdetach API changes
o track bpf changes (use BPF_TAP and BPF_MTAP)
o track vlan changes (ifnet capabilities, revised processing scheme, etc.)
o use if_input to pass packets "up"
o call ether_ioctl for default handling of ioctls
Reviewed by: many
Approved by: re
2002-11-14 23:54:55 +00:00
simokawa
36297badba
- Add fwmem_xfer_req() and use this in other functions.
2002-11-12 17:19:21 +00:00
simokawa
8595cb5b46
- Remove unused code.
...
- Fix style.
2002-11-12 17:16:20 +00:00
simokawa
86aed55239
fix wording.
2002-11-12 17:11:32 +00:00
simokawa
b445a4b51a
Split userland services to fwdev.c.
2002-11-12 15:22:19 +00:00
simokawa
f4a7469d8f
Use struct fw_device in fwmem.c
...
- specify fwmem target by EUI64.
- fw_noderesolve returns struct fw_device rather than dst.
- include struct firewire_comm in struct fw_device.
2002-11-12 13:49:17 +00:00
simokawa
6262082ff1
Add a prototype for suspend/resume.
2002-11-12 13:46:09 +00:00
simokawa
7c6dbbe64b
Change interface of fwmem_read_*() functions to be usable from other part
...
of the module.
2002-11-12 11:15:01 +00:00
simokawa
664569e8ec
Change interface of fwmem_read_*() functions to be usable from other part
...
of the module.
2002-11-12 11:08:50 +00:00
simokawa
3b7ac3a4f9
- clean up
2002-11-12 10:02:50 +00:00
simokawa
faf37223df
- Remove unused code.
...
- Style fixes.
2002-11-12 05:52:01 +00:00
simokawa
af05a61150
Restrict process count in fwohci_arcv() and fwohci_ircv().
2002-11-12 04:54:30 +00:00
simokawa
2d6271e925
- 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
simokawa
e6dea8f633
Minor clean up on cdb handling.
2002-11-06 15:34:52 +00:00
simokawa
58b83e0c52
- Let the PCI code try to route interrupt in -current
...
- Print warning in -stable.
2002-11-06 04:07:05 +00:00
simokawa
0c6061a847
Sony CXD3222 OHCI i.LINK chips needs more DELAY before starting SCLK
...
when no devices are connected.
2002-11-05 02:42:28 +00:00
simokawa
97ccd4c7eb
- Dequeue OCBs more safely in sbp_abort_all_ocbs().
2002-10-23 13:04:02 +00:00
simokawa
ee934c85cb
- Abort all OCBs for timeout.
...
- Improve warning message.
2002-10-21 15:36:59 +00:00
simokawa
7228ba2873
fix prototype of asyreqq().
2002-10-21 10:21:49 +00:00
simokawa
b52cd7f4bd
These (userland) files shouldn't be here.
2002-10-21 10:14:26 +00:00
jhb
af2f721bc3
This file doesn't need opt_bus.h.
2002-10-14 19:11:19 +00:00
simokawa
1b553b95de
don't include bus_dma.h which doesn't need.
2002-09-21 15:05:22 +00:00
simokawa
f47d65ab2d
remove unused code.
2002-09-21 14:48:07 +00:00
ikob
da2ba83f7b
Firewire device support for Apple eMac with PPC kernel.
...
Contributed by Peter Grehan <grehan@freebsd.org>
2002-09-17 12:50:43 +00:00
ikob
5941256529
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