Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/sys/arch/hp300/stand/common Pull up following revision(s)...



details:   https://anonhg.NetBSD.org/src/rev/f665591bae08
branches:  netbsd-6
changeset: 774392:f665591bae08
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Aug 08 15:55:43 2012 +0000

description:
Pull up following revision(s) (requested by tsutsui in ticket #468):
        sys/arch/hp300/stand/common/if_lereg.h: revision 1.6
Remove '__attribute__((__packed__))' from structure definisions
for Am7990 LANCE registers where no implicit padding is expected.
gcc 4.5.3 seems to generate strange and wrong instructions
(four moveb insns against u_short members) if packed attribute
is specified in this case, then netboot fails immediately.
Should be pulled up to netbsd-6.

diffstat:

 sys/arch/hp300/stand/common/if_lereg.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7b403afe4266 -r f665591bae08 sys/arch/hp300/stand/common/if_lereg.h
--- a/sys/arch/hp300/stand/common/if_lereg.h    Wed Aug 08 15:51:02 2012 +0000
+++ b/sys/arch/hp300/stand/common/if_lereg.h    Wed Aug 08 15:55:43 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_lereg.h,v 1.5 2005/12/11 12:17:19 christos Exp $    */
+/*     $NetBSD: if_lereg.h,v 1.5.118.1 2012/08/08 15:55:43 martin Exp $        */
 
 /*
  * Copyright (c) 1982, 1990 The Regents of the University of California.
@@ -50,7 +50,7 @@
        vu_char ler0_id;        /* ID */
        u_char  ler0_pad1;
        vu_char ler0_status;    /* interrupt enable/status */
-} __attribute__((__packed__));
+};
 
 /*
  * Control and status bits -- lereg0
@@ -65,7 +65,7 @@
 struct lereg1 {
        vu_short        ler1_rdp;       /* data port */
        vu_short        ler1_rap;       /* register select port */
-} __attribute__((__packed__));
+};
 
 /*
  * Control and status bits -- lereg1



Home | Main Index | Thread Index | Old Index