Page MenuHomeFreeBSD

firewireTag
ActivePublic

Watchers

  • This project does not have any watchers.
  • View All

Recent Activity

Sat, Nov 14

zlei added a comment to D61320: if_firewire: Be more robust while checking the frame size.

P.S. AFAIK the ubiquitous use of signed integers for unsigned entities that we inherited from 4.3BSD comes from late Bruce Evans. He always insisted that at machine level everything is signed, that's why. I never fully bought this point. It seems to me that by today standards all software development norms is that use unsigned types for unsigned entities. And even a very smart man can be wrong sometimes. Thus, we should do sweeping changes to get rid of this heritage. Any other opinions?

Sat, Nov 14, 5:12 PM · firewire
zlei added inline comments to D61320: if_firewire: Be more robust while checking the frame size.
Sat, Nov 14, 4:30 PM · firewire

Thu, Nov 12

glebius added a comment to D61320: if_firewire: Be more robust while checking the frame size.

P.S. AFAIK the ubiquitous use of signed integers for unsigned entities that we inherited from 4.3BSD comes from late Bruce Evans. He always insisted that at machine level everything is signed, that's why. I never fully bought this point. It seems to me that by today standards all software development norms is that use unsigned types for unsigned entities. And even a very smart man can be wrong sometimes. Thus, we should do sweeping changes to get rid of this heritage. Any other opinions?

Thu, Nov 12, 6:05 PM · firewire
glebius updated subscribers of D61320: if_firewire: Be more robust while checking the frame size.
Thu, Nov 12, 6:02 PM · firewire

Tue, Nov 10

seuros added a comment to D61320: if_firewire: Be more robust while checking the frame size.

The bug should be fixed early in the stack. I will take a look soon.

Tue, Nov 10, 6:21 PM · firewire
zlei added a comment to D61320: if_firewire: Be more robust while checking the frame size.

is m_len / m_pktlen ever supposed to be negative?

They should not be negative. But buggy driver / net stack logic may lead to. Here is an example 6429199a2113 (llan: byte swap the receive queue entries) .

If it can't be negative then we could write a mbuf len comparison function that can assert/log an error, and then do the correct things with comparison.

Tue, Nov 10, 6:11 PM · firewire

Sun, Nov 8

adrian added a comment to D61320: if_firewire: Be more robust while checking the frame size.

is m_len / m_pktlen ever supposed to be negative?

They should not be negative. But buggy driver / net stack logic may lead to. Here is an example 6429199a2113 (llan: byte swap the receive queue entries) .

Sun, Nov 8, 6:26 PM · firewire
zlei added a comment to D61320: if_firewire: Be more robust while checking the frame size.

is m_len / m_pktlen ever supposed to be negative?

Sun, Nov 8, 6:19 PM · firewire
adrian added a comment to D61320: if_firewire: Be more robust while checking the frame size.

is m_len / m_pktlen ever supposed to be negative?

Sun, Nov 8, 5:14 PM · firewire
zlei added inline comments to D61320: if_firewire: Be more robust while checking the frame size.
Sun, Nov 8, 5:04 PM · firewire
adrian added a reviewer for D61320: if_firewire: Be more robust while checking the frame size: seuros.
Sun, Nov 8, 4:47 PM · firewire

Aug 9 2026

adrian closed D58502: fwcam: release the IR DMA channel when starting the stream fails.
Aug 9 2026, 5:02 PM · firewire, drivers
adrian closed D58369: fwcam: convert to video(4) framework.
Aug 9 2026, 5:02 PM · drivers, firewire
adrian closed D58500: fwcamctl: remove, superseded by the video(4) interface.
Aug 9 2026, 5:02 PM · firewire, drivers

Jul 28 2026

adrian accepted D58502: fwcam: release the IR DMA channel when starting the stream fails.
Jul 28 2026, 7:56 PM · firewire, drivers
adrian accepted D58500: fwcamctl: remove, superseded by the video(4) interface.
Jul 28 2026, 7:55 PM · firewire, drivers
adrian accepted D58369: fwcam: convert to video(4) framework.

tested; this works but has some pixel format negotiation issues which i think we can debug in a subsequent commit.

Jul 28 2026, 7:52 PM · drivers, firewire
seuros added a reviewer for D58500: fwcamctl: remove, superseded by the video(4) interface: firewire.
Jul 28 2026, 7:34 PM · firewire, drivers
seuros added projects to D58502: fwcam: release the IR DMA channel when starting the stream fails: drivers, firewire.
Jul 28 2026, 7:33 PM · firewire, drivers
seuros updated the diff for D58369: fwcam: convert to video(4) framework.

rebase

Jul 28 2026, 12:05 AM · drivers, firewire

Jul 27 2026

seuros updated the diff for D58369: fwcam: convert to video(4) framework.

rebase

Jul 27 2026, 4:31 PM · drivers, firewire

Jul 26 2026

seuros updated the diff for D58369: fwcam: convert to video(4) framework.

rebase

Jul 26 2026, 7:54 PM · drivers, firewire

Jul 23 2026

seuros updated the diff for D58369: fwcam: convert to video(4) framework.

rebase

Jul 23 2026, 8:58 PM · drivers, firewire

Jul 21 2026

seuros added reviewers for D58369: fwcam: convert to video(4) framework: lwhsu, firewire.
Jul 21 2026, 1:54 PM · drivers, firewire

Jul 20 2026

adrian closed D58267: firewire: remove deprecation notice from manual page.
Jul 20 2026, 10:50 PM · drivers, firewire
adrian closed D58311: firewire: replace magic numbers with named constants.
Jul 20 2026, 10:50 PM · firewire
adrian closed D58309: firewire: force root change when root node is not cycle master capable.
Jul 20 2026, 10:50 PM · firewire
adrian closed D58308: firewire: drain pending xfers after callout stop in detach.
Jul 20 2026, 10:50 PM · firewire
adrian closed D58307: firewire: add warn-only CRC validation for CSR ROM directories.
Jul 20 2026, 10:50 PM · firewire
ziaee accepted D58267: firewire: remove deprecation notice from manual page.

Exciting! Firewire is an important interface for musical and scientific equipment!

Jul 20 2026, 10:04 PM · drivers, firewire
imp accepted D58267: firewire: remove deprecation notice from manual page.

Sure, if it works and we're on a good path to removing Giant (or if it's already gone, I've not looked).

Jul 20 2026, 5:05 PM · drivers, firewire
adrian accepted D58309: firewire: force root change when root node is not cycle master capable.
Jul 20 2026, 6:27 AM · firewire
adrian accepted D58308: firewire: drain pending xfers after callout stop in detach.
Jul 20 2026, 6:27 AM · firewire
adrian accepted D58307: firewire: add warn-only CRC validation for CSR ROM directories.
Jul 20 2026, 6:27 AM · firewire

Jul 17 2026

adrian accepted D58311: firewire: replace magic numbers with named constants.
Jul 17 2026, 5:38 PM · firewire
seuros added reviewers for D58311: firewire: replace magic numbers with named constants: adrian, firewire.
Jul 17 2026, 5:11 PM · firewire
seuros updated the summary of D58309: firewire: force root change when root node is not cycle master capable.
Jul 17 2026, 4:55 PM · firewire
seuros updated the summary of D58307: firewire: add warn-only CRC validation for CSR ROM directories.
Jul 17 2026, 4:42 PM · firewire
adrian closed D58210: firewire: remove SPL calls.
Jul 17 2026, 4:09 AM · drivers, firewire
adrian closed D58204: fwdv: match unit directories instead of IDENTIFY.
Jul 17 2026, 4:09 AM · drivers, firewire
adrian closed D58203: fwisound: match unit directories instead of IDENTIFY.
Jul 17 2026, 4:09 AM · drivers, firewire
adrian closed D58202: fwcam: match unit directories, defer probe to first open.
Jul 17 2026, 4:09 AM · drivers, firewire
adrian closed D58201: firewire: per-unit-directory child device support.
Jul 17 2026, 4:09 AM · drivers, firewire
adrian accepted D58204: fwdv: match unit directories instead of IDENTIFY.

yes i tested this!

Jul 17 2026, 4:06 AM · drivers, firewire
adrian accepted D58203: fwisound: match unit directories instead of IDENTIFY.

yes i tested this!

Jul 17 2026, 4:06 AM · drivers, firewire
adrian accepted D58202: fwcam: match unit directories, defer probe to first open.

yes i tested this!

Jul 17 2026, 4:05 AM · drivers, firewire
adrian accepted D58201: firewire: per-unit-directory child device support.

yes i tested this!

Jul 17 2026, 4:05 AM · drivers, firewire

Jul 15 2026

seuros added a reviewer for D58267: firewire: remove deprecation notice from manual page: firewire.
Jul 15 2026, 7:51 PM · drivers, firewire
seuros updated the diff for D58201: firewire: per-unit-directory child device support.

restore deprecation

Jul 15 2026, 7:34 PM · drivers, firewire

Jul 13 2026

imp accepted D58210: firewire: remove SPL calls.
Jul 13 2026, 7:35 PM · drivers, firewire