Justin T. Gibbs f6f6004c29 Properly calculate the amount of the devconf to output in SYSCTL_OUT.
The code outputs the dc then calls the device specific externalize
routines to fill in the dc_data area.  The old code assumed that dc_data
started one byte from the end of the dc, but with the compiler optimizing
alignment and padding, this isn't always the case.  Do an explicit
&(dc.dc_data) - &dc.  This fixes lsdev -c which must have been broken
for some time.
1996-01-31 18:05:19 +00:00
..
1995-12-02 16:32:03 +00:00
1995-12-17 21:23:44 +00:00
1995-05-08 23:11:12 +00:00
1995-12-17 21:23:44 +00:00
1995-12-17 21:23:44 +00:00
1994-08-02 07:55:43 +00:00
1995-02-24 08:51:34 +00:00
1994-08-02 07:55:43 +00:00
1996-01-04 21:13:23 +00:00
1996-01-29 03:18:05 +00:00
1996-01-24 18:29:00 +00:00
1996-01-08 04:30:48 +00:00
1995-12-22 13:09:39 +00:00
1996-01-26 12:42:39 +00:00
1996-01-04 21:13:23 +00:00
1994-08-02 07:55:43 +00:00
1995-12-22 15:57:31 +00:00
1995-12-17 21:23:44 +00:00