Deleted Added
full compact
34a35
> #ifdef __FreeBSD__
36c37,38
< __FBSDID("$FreeBSD: head/sys/dev/firewire/fwcrom.c 120660 2003-10-02 04:06:56Z simokawa $");
---
> __FBSDID("$FreeBSD: head/sys/dev/firewire/fwcrom.c 127468 2004-03-26 23:17:10Z simokawa $");
> #endif
52a55,59
>
> #ifdef __DragonFly__
> #include "firewire.h"
> #include "iec13213.h"
> #else
54a62
> #endif
65,66c73,74
< if (hdr->info_len == 1) {
< /* minimum ROM */
---
> if (hdr->info_len <= 1) {
> /* minimum or invalid ROM */
67a76
> return;
439c448
< #if __FreeBSD_version < 500000
---
> #if defined(__DragonFly__) || __FreeBSD_version < 500000
576a586,590
> #ifdef __DragonFly__
> crom_add_simple_text(&src, &root, &text1, "DragonFly");
> crom_add_entry(&root, CSRKEY_HW, __DragonFly_cc_version);
> crom_add_simple_text(&src, &root, &text2, "DragonFly-1");
> #else
579a594
> #endif