summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire
Commit message (Collapse)AuthorAgeFilesLines
* Clear PCIM_CMD_SERRESPEN and PCIM_CMD_PERRESPEN for broken hardware.simokawa2005-01-061-1/+2
| | | | | | Some amd64 laptops fail to boot with these flags. PR: kern/75482
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-0623-23/+23
|
* return after freeing data element, instead of falling through, and usingjmg2005-01-041-0/+1
| | | | | | the free'd element, and ultimate NULL deref of the failed allocation. MFC after: 1 week
* Fix malloc type in free().simokawa2004-11-101-1/+1
|
* Respect _BOOT flag.simokawa2004-10-222-6/+12
|
* Add a missing splx().simokawa2004-09-061-0/+1
|
* Remove an unused variable.simokawa2004-08-291-1/+1
|
* Assert Giant in fwe_start(), as it is not yet MPSAFE.rwatson2004-08-181-0/+2
|
* Since if_fwip doesn't contain locking or run with INTR_MPSAFE, markrwatson2004-08-131-1/+2
| | | | | | the interface as IFF_NEEDSGIANT so if_start is run holding Giant. Approved by: dfr
* Set IFF_NEEDSGIANT for fwe network interface since the firewirerwatson2004-08-121-1/+2
| | | | | | framework isn't yet MPSAFE. Approved by: simokawa
* Fix and add deivce ID's.simokawa2004-08-042-4/+9
| | | | Obtained from: DragonFly BSD
* Avoid casts as lvalues.kan2004-07-281-1/+1
|
* Temporary fix for interoperability with Windows and OS X. A more completedfr2004-07-201-1/+1
| | | | | | fix will follow when its ready. Submitted by: simokawa
* Don't output too many debug messages for bootverbose.simokawa2004-07-203-11/+16
| | | | This driver seems to be fairly stable now.
* Initialize ifp->if_output for FreeBSD-4.simokawa2004-07-201-0/+3
|
* Adjust packet length correctly for FreeBSD-4.simokawa2004-07-201-2/+4
| | | | Submitted by: Joerg Sonnenberger <joerg@britannica.bec.de>
* Add some PCI IDs for OHCI chips.simokawa2004-07-172-0/+30
| | | | Obtained from: DragonFly BSD
* Do a pass over all modules in the kernel and make them return EOPNOTSUPPphk2004-07-151-0/+2
| | | | | | | | 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".
* Trim a few things from the dmesg output and stick them under bootverbose tojhb2004-07-011-2/+3
| | | | | | | cut down on the clutter including PCI interrupt routing, MTRR, pcibios, etc. Discussed with: USENIX Cabal
* Remove the setting of the pci config variables on power state changes.imp2004-06-281-5/+0
| | | | The bus does this now.
* Fix the description of hw.firewire.sbp.exclusive_login.simokawa2004-06-181-1/+1
| | | | Submitted by: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
* Second half of the dev_t cleanup.phk2004-06-171-1/+1
| | | | | | | | | | | The big lines are: NODEV -> NULL NOUDEV -> NODEV udev_t -> dev_t udev2dev() -> findcdev() Various minor adjustments including handling of userland access to kernel space struct cdev etc.
* Do the dreaded s/dev_t/struct cdev */phk2004-06-164-22/+22
| | | | Bump __FreeBSD_version accordingly.
* Fix spelling.dfr2004-06-151-2/+2
|
* If we run out of transmission labels, just re-queue the packet for laterdfr2004-06-142-4/+17
| | | | | instead of printing endless error messages on the console and discarding the packet.
* 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
|
OpenPOWER on IntegriCloud