Home | History | Annotate | Download | only in include
History log of /src/sys/arch/i386/include/rbus_machdep.h
RevisionDateAuthorComments
 1.9  01-Mar-2010  jym Change rbus_min_start_hint() semantic for i386. "ram" is now psize_t
(instead of size_t) to avoid possible overflow when system may have more
than 4GB of memory (like PAE).

The behavior of rbus_min_start_hint() remains the same. While here, fix
printf's format strings (paddr_t => PRIxPADDR).

Use ctob() and cast physmem to psize_t to avoid losing bits above 4GB.

Comes from PAE patch from Jeremy Morse; adaptation by me.

Compile tested for GENERIC only. No regression expected.
 1.8  15-Dec-2009  snj branches: 1.8.2;
Move to 2-clause license. Approved by HAYAKAWA Koichi (copyright holder).
 1.7  12-Jan-2007  gdt branches: 1.7.48; 1.7.62;
Add a heuristic to set rbus_min_start based on total RAM. The new
behavior is to choose 0.5 GB for <= 192 MB, 1 GB normally, and 2 GB
for >= 1 GB. This should make the defaults work additionally old
Thinkpad 600Es, and also on notebooks with lots of RAM (e.g. T60 with
2GB).

ok christos@
 1.6  26-Feb-2003  fvdl branches: 1.6.18; 1.6.48; 1.6.54;
Redirect some includes to x86/foo.h
 1.5  25-Apr-2001  thorpej branches: 1.5.2;
Move _i386_memio_unmap() into bus_machdep.c; the ACPI code wants it.
 1.4  06-Jun-2000  haya branches: 1.4.6;
Remove unnecessary function arguments.
 1.3  01-Jun-2000  cgd kill __P in these files. (I had to look at them anyway with an eye for
adding some protos... and adding them with __P seems wrong, but mixing
__P and not __P in the same file seems wrong too, so...)
 1.2  15-Oct-1999  haya branches: 1.2.2; 1.2.8; 1.2.12;
add NetBSD ID tag.
 1.1  15-Oct-1999  haya This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h
 1.2.12.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.2.8.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.4.6.1  21-Jun-2001  nathanw Catch up to -current.
 1.5.2.2  25-Apr-2001  thorpej Move _i386_memio_unmap() into bus_machdep.c; the ACPI code wants it.
 1.5.2.1  25-Apr-2001  thorpej file rbus_machdep.h was added on branch sommerfeld_i386mp_1 on 2001-04-25 03:31:24 +0000
 1.6.54.1  28-Mar-2007  jdc Pull up revision 1.7 (requested by gdt in ticket #521)

Add a heuristic to set rbus_min_start based on total RAM. The new
behavior is to choose 0.5 GB for <= 192 MB, 1 GB normally, and 2 GB
for >= 1 GB. This should make the defaults work additionally old
Thinkpad 600Es, and also on notebooks with lots of RAM (e.g. T60 with
2GB).

ok christos@
 1.6.48.1  01-Feb-2007  ad Sync with head.
 1.6.18.1  26-Feb-2007  yamt sync with head.
 1.7.62.1  24-Oct-2010  jym Sync with HEAD
 1.7.48.1  11-Mar-2010  yamt sync with head
 1.8.2.1  30-Apr-2010  uebayasi Sync with HEAD.

RSS XML Feed