Andrew Gallatin
4fc1dda91d
Make the fxp driver work on alpha, rather than panic the machine on boot
...
and/or when using the card.
o Convert the driver to using bus_space. This allows alphas with
fxp's to boot, rather than panic'ing because rman_get_virtual()
doesn't really return a virtual address on alphas.
o Fix an alpha unaligned access error caused by some misfeature of
gcc/egcs: if link_addr & rbd_addr in the fxp_rfa struct are 32 bit
quantities, egcs will assume they are naturally aligned. So it will do
a ldl & some shifty/masky to twiddle 16 bit values in fxp_lwcopy().
However, if they are 16-bit aligned, the ldl will actually be done on
a 16-bit aligned value & we will panic with an unaligned access
error... Changing their definition to an array of chars seems to fix
this. I obtained this from NetBSD.
I've tested this on both i386 & alpha.
1999-09-30 19:03:12 +00:00
..
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-09-13 16:32:34 +00:00
1999-08-28 01:08:13 +00:00
1999-08-16 01:52:21 +00:00
1999-05-22 21:50:40 +00:00
1999-09-17 17:06:36 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-09 12:52:49 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-09-25 17:29:02 +00:00
1999-09-22 05:07:51 +00:00
1999-09-23 03:32:57 +00:00
1999-09-18 04:04:03 +00:00
1999-09-25 12:06:01 +00:00
1999-08-09 14:43:39 +00:00
1999-09-25 17:29:02 +00:00
1999-09-06 06:14:30 +00:00
1999-08-21 22:10:49 +00:00
1999-08-28 01:08:13 +00:00
1999-09-30 19:03:12 +00:00
1999-09-30 19:03:12 +00:00
1999-09-30 19:03:12 +00:00
1999-08-28 01:08:13 +00:00
1999-09-23 03:32:57 +00:00
1999-08-28 01:08:13 +00:00
1999-09-23 03:32:57 +00:00
1999-08-28 01:08:13 +00:00
1999-09-25 17:29:02 +00:00
1999-08-31 14:45:51 +00:00
1999-09-26 18:35:30 +00:00
1999-09-03 20:58:39 +00:00
1999-09-25 17:29:02 +00:00
1999-09-05 21:01:03 +00:00
1999-09-25 04:50:27 +00:00
1999-09-18 04:01:31 +00:00
1999-08-28 01:08:13 +00:00
1999-09-23 03:32:57 +00:00
1999-09-18 04:04:03 +00:00
1999-09-23 03:32:57 +00:00
1999-09-22 06:43:16 +00:00
1999-09-25 17:29:02 +00:00
1999-09-19 22:39:24 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-09-25 17:29:02 +00:00
1999-09-19 22:03:31 +00:00
1999-08-21 22:10:49 +00:00
1999-09-25 17:29:02 +00:00
1999-08-30 23:08:32 +00:00
1999-09-25 17:29:02 +00:00
1999-09-20 00:24:11 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-30 14:41:09 +00:00
1999-08-23 20:59:21 +00:00
1999-09-25 18:24:47 +00:00
1999-08-29 09:03:58 +00:00
1999-08-28 01:08:13 +00:00
1999-08-18 10:24:59 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1998-09-15 08:21:13 +00:00
1999-09-25 18:24:47 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-29 15:11:22 +00:00
1999-08-28 01:08:13 +00:00
1998-08-10 17:21:49 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-09-22 06:43:16 +00:00
1999-09-22 06:43:16 +00:00
1999-08-23 21:00:08 +00:00
1999-08-28 01:08:13 +00:00
1999-09-25 18:24:47 +00:00